PyCharm Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
{{External|https://virtualenv.pypa.io/en/latest/index.html}}
{{External|https://virtualenv.pypa.io/en/latest/index.html}}


<code>virtualenv</code> is a tool to create isolated Python environments. A virtual environment manages settings and dependencies of a particular project, regardless of other Python projects.  
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.  


<code>virtualenv</code> 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 <code>virtualenv</code>
<code>virtualenv</code> is a tool to create isolated Python environments. <code>virtualenv</code> 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 <code>virtualenv</code>

Revision as of 03:56, 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

https://virtualenv.pypa.io/en/latest/index.html

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.

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