Pip install-找不到满足要求的版本

Miy*_*ang 7 python install pip package

我正在尝试使用pip 安装一个名为got的软件包.但它不断出现"无法找到满足要求的版本"的错误.

错误

我在网上搜索了解决方案.有一些解释说尝试pip freeze> requirements.txt.但它仍然是我的黑盒子.

这里有什么问题,我应该怎么做才能安装包?

谢谢!

Kru*_*pös 1

你的包got确实不在 Pypi 上。

\n\n

当没有找到包时,会抛出错误。

\n\n

例如:

\n\n
\xe2\x86\x92 pip install notfoundpackage\nCollecting notfoundpackage\n  Could not find a version that satisfies the requirement notfoundpackage (from versions: )\nNo matching distribution found for notfoundpackage\n
Run Code Online (Sandbox Code Playgroud)\n\n

不过,因为您知道 github 链接,所以您可以使用 git 克隆存储库。

\n\n
git clone git@github.com:Jefferson-Henrique/GetOldTweets-python.git\ncd GetOldTweets-python\npython Exporter.py -h\n
Run Code Online (Sandbox Code Playgroud)\n\n

如果您确实需要一个用于 tweeter 的 python 库,那么其他一些库已经存在,例如twython

\n