... | @@ -2,7 +2,7 @@ |
... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
Python Virtual Environments (or virtualenvs) are a mechanism to install Python packages not available system-wide, in user directories. They also allow you to have a different Python environment for each project, which is useful for example when you need different versions of the same package for different projects.
|
|
Python Virtual Environments (or virtualenvs) are a mechanism to install Python packages not available system-wide, in user directories. They also allow you to have a different Python environment for each project, which is useful for example when you need different versions of the same package for different projects.
|
|
|
|
|
|
A complete guide on virtualenvs can be found [here](https://thepythonguru.com/python-virtualenv-guide/). Next, we report only some basic commands.
|
|
A complete guide on virtualenvs can be found [here](https://docs.python.org/3/tutorial/venv.html). Next, we report only some basic commands.
|
|
|
|
|
|
|
|
|
|
Create a Python3 virtualenv in the folder `./pyenv` (done once per project):
|
|
Create a Python3 virtualenv in the folder `./pyenv` (done once per project):
|
... | | ... | |