gpt4 book ai didi

python - 即使 pip 已更新,安装软件包时仍出现 Pip 版本错误

转载 作者:行者123 更新时间:2023-12-01 08:23:32 24 4
gpt4 key购买 nike

当我尝试安装 dateutil 时遇到此错误:

Collecting dateutil

Could not find a version that satisfies the requirement dateutil (from versions: )
No matching distribution found for dateutil
You are using pip version 10.0.1, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

如果我运行pip -V我会得到这个:

pip 19.0.1 from /Users/me/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pip (python 3.7)

我配置过什么东西吗?如何安装 dateutil?

最佳答案

正确的包:

pip install python-dateutil

关于python - 即使 pip 已更新,安装软件包时仍出现 Pip 版本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54462482/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com