I have installed virtualenv (if I type "pip list" there is virtualenv (15.1.0)) and when I try to use it throws an error:
virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again
At line:1 char:1
+ virtualenv + ~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (virtualenv:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I think I need to add virtualenv to path, which I've tried without success.
To install :
pip install --user virtualenv
To create a virtual environment (venv):
python -m virtualenv venv
To activate:
-cd venv
-cd Scripts
-activate.bat
to deactivate:
-deactivate.bat
to run venv again just type activate.bat
Note: had problems with the platformio integrated terminal, used cmd from within the folder. Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With