virtualenv on Windows10 gives error:The path python3 does not exist

后端 未结 4 1104
再見小時候
再見小時候 2021-02-15 03:47

I\'m trying the tutorial Using Cloud Datastore with Python, but when I run:

virtualenv -p python3 env

I got an error:

The path          


        
4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-15 04:22

    Use something like this: virtualenv --python "Your python.exe path" 'Name of your virtual folder'. You can take your python.exe path from your environment variables which is in properties of your 'This PC' or 'My Computer'.

    Then get into the folder and run the command: .\Scripts\activate

    Enter the command pip freeze to make sure you have created your virtual environment successfully! It should return nothing since it is like an empty basket. Look at how it comes in the picture.

提交回复
热议问题