Anaconda: Permanently include external packages (like in PYTHONPATH)

后端 未结 4 2183
粉色の甜心
粉色の甜心 2020-11-28 18:37

I know how to install packages in Anaconda using conda install and also how to install packages that are on PyPi which is described in the manual.

But h

4条回答
  •  一整个雨季
    2020-11-28 19:13

    Just to add to Cord Kaldemeyer's answer above, for the 2nd option. If you only want to link to a particular conda environment then add the .pth file to ~/anaconda3/envs/{NAME_OF_ENVIRONMENT}/lib/pythonX.X/site-packages/

提交回复
热议问题