PyCharm makes it possible create virtual environment using the virtualenv tool. So doing, PyCharm tightly integrates with virtualenv, and enables configuring virtual environments right in the IDE.

virtualenv tool comes bundled with PyCharm, so the user doesn't need to install it.

  1. Open the project settings, and click Python Interpreters page.
  2. Click py_venv in the toolbar.

    Create New Virtual Environment dialog box opens.

  3. In the Create New Virtual Environment dialog box:

    Click OK to apply changes and close the dialog box.

    py_createVenv_dialog

You can create as many virtual environments as required. To easily tell them from each other, use different names.

See Also

Procedures:

Reference:

External Links:

Web Resources: