PyCharm Concepts: Difference between revisions
(→Pipenv) |
|||
Line 17: | Line 17: | ||
==Pipenv== | ==Pipenv== | ||
{{External|https://www.jetbrains.com/help/pycharm/pipenv.html}} | {{External|https://www.jetbrains.com/help/pycharm/pipenv.html}} | ||
Pipenv is another tool that provides all necessary means to create a virtual environment for a Python project. It automatically manages project packages through the <code>Pipfile</code> file as you install or uninstall packages. | |||
==Poetry== | ==Poetry== | ||
{{External|https://www.jetbrains.com/help/pycharm/poetry.html}} | {{External|https://www.jetbrains.com/help/pycharm/poetry.html}} | ||
==Conda== | ==Conda== | ||
{{External|https://www.jetbrains.com/help/pycharm/conda-support-creating-conda-virtual-environment.html}} | {{External|https://www.jetbrains.com/help/pycharm/conda-support-creating-conda-virtual-environment.html}} |
Revision as of 04:16, 22 December 2021
Internal
Python Interpreter
PyCharm needs at least one Python interpreter. It can be chosen from the system interpreter
System Interpreter
A system interpreter is the interpreter that comes with the Python installation on the system. The system interpreter can be used solely for all Python scripts or as a base interpreter for the Python virtual environments.
Virtual Environment
A virtual environment consists of a base interpreter and installed packages. It manages settings and dependencies of a particular project, regardless of other Python projects. Several types of virtual environments are available: Virtualenv, Pipenv, Poetry and Conda.
Virtualenv
virtualenv
is a tool to create isolated Python environments. virtualenv
is bundled in PyCharm, which uses it to create a project-specific virtual environment. For Python 3.3+, the built-in venv
module is used, instead of virtualenv
Pipenv
Pipenv is another tool that provides all necessary means to create a virtual environment for a Python project. It automatically manages project packages through the Pipfile
file as you install or uninstall packages.