Spyder does not run in Anaconda virtual environment on Windows 10

前端 未结 4 1784
一个人的身影
一个人的身影 2020-12-03 03:01

This is my first post here. I tried to find an answer to this question but to no avail.

Just installed Anaconda2 (2.7.11 Python kernel) on my Win10 machine. I am t

4条回答
  •  既然无缘
    2020-12-03 03:58

    When you type spyder, the search for this command begins in the paths that the conda environment created. If it cannot find it there, it will go and search at other places. In your case in the paths of the default Anaconda install. So after you activate your environment:

    activate myenv
    

    you need to install sypder inside this environment:

    (myenv) conda install spyder   
    

    where (myenv) indicates the active environment.

提交回复
热议问题