Python:无法安装googletrans

2024-06-12 10:32:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试安装googletranshttps://pypi.org/project/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

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


Tags: installpipthefrom命令thatversion错误