Why Anaconda does not recognize conda command?

前端 未结 15 2111
挽巷
挽巷 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:24

    When you install anaconda on windows now, it doesn't automatically add Python or Conda to your path so you have to add it yourself.

    If you don’t know where your conda and/or python is, you type the following commands into your anaconda prompt

    Next, you can add Python and Conda to your path by using the setx command in your command prompt.

    Next close that command prompt and open a new one. Congrats you can now use conda and python

    Source: https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444

提交回复
热议问题