Installing package not found in conda

泪湿孤枕 提交于 2020-01-14 07:07:09

问题


I'm using python 3.6 as anaconda, and im trying to install python-twitter package, but there is no package compatible from conda manager. How can i download the package outside conda manager in order to use it later with jupyter notebook?


回答1:


You can install pip in your conda env and then run pip install python-twitter.

It should work.




回答2:


Ubuntu:/$ which pip
/home/superadmin/anaconda2/bin/pip
Ubuntu:/$ /home/superadmin/anaconda2/bin/pip install apache-beam

It worked...




回答3:


If you prefer conda packages over pip where possible, check other channels first with:

conda install [--channel | -c] conda-forge

Search multiple channels:

conda search -c bioconda -c conda-forge

Add a channel to the default search (see docs for managing precedence order):

conda config --add channels conda-forge

Some of the popular channels are listed in Explanation of different conda channels



来源:https://stackoverflow.com/questions/44009966/installing-package-not-found-in-conda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!