Using Python 3.8.3, pipx 0.15.4.0
I tried to install virtualenv using:
python -m pipx install virtualenv
python -m pipx ensurepath
Then I checked to see if it was installed properly:
python -m virtualenv --help
C:\Users\...\AppData\Local\Programs\Python\Python38\python.exe: No module named virtualenv.__main__; 'virtualenv' is a package and cannot be directly executed
I'd like to use pipx rather than pip to do this, any ideas?
You could use vitualenv
.
python -m venv new_env
Creates a new virtual environment called new_env
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.