How do I keep track of pip-installed packages in an Anaconda (Conda) environment?

后端 未结 10 2531
萌比男神i
萌比男神i 2020-11-28 00:35

I\'ve installed and have been using the Anaconda Python distribution, and I have started using the Anaconda (Conda) environment. I can use the standard conda install..

10条回答
  •  一个人的身影
    2020-11-28 01:04

    I usually prefix the 'bin/pip' folder for the specific environment you want to install the package before the 'pip' command. For instance, if you would like to install pymc3 in the environment py34, you should use this command:

    ~/anaconda/envs/py34/bin/pip install git+https://github.com/pymc-devs/pymc3 
    

    You basically just need to find the right path to your environment 'bin/pip' folder and put it before the install command.

提交回复
热议问题