我在尝试为python安装Tweepy Package时遇到此错误(我正在使用anconda提示符):
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
我按照这个建议运行了&conda clean --packages'然后尝试使用conda install -c conda-forge tweepy
再次安装它,足以说它没有用,我收到了以下错误:
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
这里有什么帮助吗?我使用的是python 2.7,Anconda2-5.0.1和Windows 10
答案 0 :(得分:0)
我得到了与你相同的错误。如果你查看了tweepy的Github https://github.com/tweepy/tweepyyou,你会发现安装tweepy
的最简单方法是使用pip
,所以你应该这样做。
因此,如果您未使用pip
安装conda
,请在conda
命令提示符下键入
conda install pip
然后再次在命令提示符
pip install tweepy
它应该现在可以使用