python-logo

Python base hacks

How to start work with Virtual Environment in PowerShell?

pip install virtualenv #Install Virtual Environment
python -m venv venv #create one

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine #With Admin priveleges

.\venv\Scripts\Activate #activate
deactivate #deactivate

 

See also  Telegram blueprint delivery bot File Indexer
Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *