Steps:
-
In the project directory, run the following command to create a virtual environment:
python -m venv venv
-
Once done, you should be seeing a folder by the name venv
-
Run
cd .\venv\Scripts\
anddir
(for Command Prompt) orls
(for Powershell) -
You should be able to find something like this:
-
Run command
activate
. You should see(venv)
before path. -
Get back to parent directory and run
pip install -r requirements.txt
-
Now try running code.๐๐๐