Python:无法安装googletrans

Python:无法安装googletrans,python,pip,google-translate,httpx,Python,Pip,Google Translate,Httpx,我试着安装googletrans 通过按提示运行此命令: $ pip install googletrans 但在python 3.5和python 2.7中,我总是会遇到相同的错误: Collecting googletrans Using cached googletrans-3.0.0.tar.gz (17 kB) ERROR: Could not find a version that satisfies the requirement httpx==0.13.3 (from goog

我试着安装googletrans

通过按提示运行此命令:

$ pip install googletrans
但在python 3.5和python 2.7中,我总是会遇到相同的错误:

Collecting googletrans
Using cached googletrans-3.0.0.tar.gz (17 kB)
ERROR: Could not find a version that satisfies the requirement httpx==0.13.3 (from googletrans) (from versions: none)
ERROR: No matching distribution found for httpx==0.13.3 (from googletrans)
我尝试了不同的命令,但仍然无法找出错误。 httpx的安装也失败:

pip install httpx
ERROR: Could not find a version that satisfies the requirement httpx (from versions: none)
ERROR: No matching distribution found for httpx

任何帮助都将不胜感激。谢谢

下次请阅读官方页面:

HTTPX需要python3.6+


换句话说,为了安装
googletrans
,需要安装它的依赖项
httpx
,并且只有在您使用Python 3.6或更高版本时才会发生这种情况。

使用Python 3.8进行了尝试,效果很好,您能够升级吗?非常感谢您的评论!这很奇怪,因为我得到了Python3.6.9,我也得到了这个错误,但是使用Python3.8+一切都很好