简体   繁体   中英

How to use virtualenv inside a folder?

I try to use virtualenv inside a folder using the command virtualenv . and getting the error -bash: virtualenv: command not found . However, I installed virtualenv using pip pip installed virtualenv and also, upgraded it earlier with sudo pip install virtualenv .

How to use virtualenv properly ? I'm following a tutorial and they seems doing the same and gets away with it. I'm a Java developer with beginner knowledge of Python and working to improve it.

This is pretty simple
Just goto environment folder
Try: Scripts/activate
This will activate the environment
Try: Scripts/deactivate
This will deactivate current environment

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM