Why Anaconda does not recognize conda command?

前端 未结 15 2088
挽巷
挽巷 2020-12-13 05:52

I installed the latest version of Anaconda. Now I want to install OpenCV within it. When I type:

conda install -c https://conda.binstar.org/anaconda opencv
<         


        
15条回答
  •  情歌与酒
    2020-12-13 06:21

    As other users said, the best way for Windows users is to set the global environment variable.

    I install the Miniconda3 for MXNet.

    Before I do something, only Anaconda Prompt works for conda.

    After setting the global environment variable, The CMD and Git Bash work. But in some IDEs like RStudio, the nested Git Bash doesn't work.

    After restarting my computer, the Git Bash in the RStudio works for conda.

    I hope these tests helps for you.

提交回复
热议问题