Difference between revisions of "Virtualenv"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* <code>python3 -m venv /path/to/new/virtual/environment</code> | * <code>python3 -m venv /path/to/new/virtual/environment</code> | ||
or | or | ||
− | + | <code>python3 -m venv ./</code> | |
To activate new enviroment: | To activate new enviroment: |
Revision as of 03:22, 3 March 2022
https://virtualenv.pypa.io/en/latest/
- Installation:
- Help:
virtualenv --help
- Creation:
virtualenv my_new_enviroment
or
python3 -m venv /path/to/new/virtual/environment
or
python3 -m venv ./
To activate new enviroment:
source my_new_enviroment/bin/activate deactivate
Related terms
See also
virtualenv
,venv
,.venv
,.venv/
,pip3 install virtualenv
,virtualenv --help
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: