How to Configure a Pipenv environment in Pycharm

Configurare noua (How To)

Situatie

Pipenv is a tool that provides all necessary means to create a virtual environment for your Python project. It automatically manages project packages through the Pipfile file as you install or uninstall packages.

Backup

  1. Run the following command to ensure you have pip installed in your system:

    $ pip --version

    You should expect to receive a system response indicating the pip version . You can download and install Python from http://python.org.

  2. Install pipenv by running the following command:

    $ pip install --user pipenv

  3. For your convenience, you might add the user base’s binary directory to your path environmental variable. If you skip this procedure, PyCharm will prompt you to specify the path to the pipenv executable when adding a pipenv environment.
  4. After the preparation steps are done, you can use pipenv to create a virtual environment for new or existing projects.

Solutie

Tip solutie

Permanent
Etichetare:

Voteaza

(6 din 15 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?