HackTricks
Search…
Pentesting
Powered By GitBook
venv
1
sudo apt-get install python3-venv
2
#Now, go to the folder you want to create the virtual environment
3
python3 -m venv <Dirname>
4
python3 -m venv pvenv #In this case the folder "pvenv" is going to be crated
5
source <Dirname>/bin/activate
6
source pvenv/bin/activate #Activate the environment
7
#You can now install whatever python library you need
8
deactivate #To deactivate the virtual environment
Copied!
1
The error
2
error: invalid command 'bdist_wheel'
3
is fixed running
4
pip3 install wheel
5
inside the virtual environment
Copied!
Last modified 1yr ago
Copy link