3 ms·
Not conda, but using the built-ins should work for most use cases. --- 1. Create a virtual environment named venv cd $PROJECT_FOLDER python -m venv venv
by Frotag 4y ago
Not conda, but using the built-ins should work for most use cases.
---
1. Create a virtual environment named venv
cd $PROJECT_FOLDER
python -m venv venv
2. Activate it.
source ./venv/bin/activate
(In vscode, Ctrl+P > Select: Python Interpreter)
3. Define and install dependencies
nano requirements.txt
pip install -r requirements.txt
(or just "pip install ___")