Anaconda does not use package from activated environment

后端 未结 2 452
长情又很酷
长情又很酷 2020-12-20 00:05

I have a conda environment, in a bash terminal, with an Intel Python Distribution interpreter. However, when importing packages, they are imported from what loo

2条回答
  •  不思量自难忘°
    2020-12-20 00:26

    Solution is: in anaconda\env\xyz (as well as in other implementations), set the path environment variable to the directory where 'python.exe' is installed.

    As a default, the python.exe file in anaconda is in:

    c:\.....\anaconda\env\xyz
    

    after you do that, obviously, the python command works, in my case, yielding the following.

    python
    Python 3.4.3 |Anaconda 2.2.0. (64|bit)|(default, Nov 7 2015), etc, etc
    

提交回复
热议问题