Pip安装-无法找到满足要求的版本 [英] Pip install-couldn't find a version that satisfies the requirement
问题描述
我正在尝试使用pip安装名为 got 的软件包.但是它不断显示找不到满足要求的版本"的错误.
I am trying to install a package called got using pip. But it keeps showing up errors of 'couldn't find a version that satisfies the requirement".
我已经在网上搜索了有关解决方案的信息.有一些解释说尝试点子冻结> requirements.txt.但这对我来说仍然是一个黑匣子.
I've searched online about the solutions. There are some explanation saying to try pip freeze > requirements.txt. But it still remains a blackbox to me.
这是什么问题,我应该怎么做才能安装该软件包?
What is the problem here and what should I do exactly to install the package?
谢谢!
推荐答案
您的软件包got
确实不在Pypi上.
Your package got
is indeed not on Pypi.
未找到软件包时,将引发您的错误.
Your error is thrown when no package have been found.
例如:
→ pip install notfoundpackage
Collecting notfoundpackage
Could not find a version that satisfies the requirement notfoundpackage (from versions: )
No matching distribution found for notfoundpackage
尽管如此,因为您知道github链接,所以可以使用git克隆存储库.
Though, because you know the github link, you can clone the repository using git.
git clone git@github.com:Jefferson-Henrique/GetOldTweets-python.git
cd GetOldTweets-python
python Exporter.py -h
如果您确实需要高音扬声器的python库,则已经存在一些其他库,例如 twython .
If you really need a python library for tweeter, some other library already exist, like twython.
这篇关于Pip安装-无法找到满足要求的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!