-
installing venv
sudo apt-get install python3.6-venv
-
creating virtual env
python3 -m venv env
-
activating virtual env
source env/bin/activate
-
installing venv
py -m pip install --user virtualenv
-
creating virtual env
py -m venv env
-
activating virtual env
.\env\Scripts\activate
- For Unix families:
pip3 freeze > requirements.txt
- Windos:
pip freeze > requirements.txt
-
pyinstaller --onefile -w filename.py