pythonpowershellvirtualenv

Please help to solve this



At line:1 char:1
+ virtualenv kasun
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (virtualenv:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I want to install correctly.


Solution

  • I recommend you check your python version first python3 -v or python -v Then pip install virtualenv

    You need to configure your virtual env and python properly first before your activate the environment.

    You can then check your virtualenv version with virtualenv -vand you should be able to start your venv with cd ing over to your directory and create a virtual env with virtualenv __your_dir_name__ then activate with ./venv/Scripts/activate