VSCode terminal shows incorrect python version and path, launching terminal from anaconda works perfectly

后端 未结 5 659
予麋鹿
予麋鹿 2021-02-05 17:03

I have been stuck on this one problem for hours now and believe I have tried everything outside of throwing my computer out of the window.

I have a virtual environment s

5条回答
  •  天涯浪人
    2021-02-05 17:51

    I ran this script. Now python3 is running from virtual env. [Windows 10]

    pip3 install virtualenv
    virtualenv env
    call ".\env\Scripts\activate.bat"
    set requirements="./Requirements.txt"
    pip3 install -r %requirements%
    python
    

提交回复
热议问题