python安装提示错误Could not find a version that satisfies the requirement dateutil

时间:2022-01-01 16:43:55

  今天ytkah在安装python3组件时提示如下错误,这个是缺少依赖的问题,就试着用pip3 install dateutil,但还是提示同样的错误,怎么处理呢?

Could not find a version that satisfies the requirement dateutil (from versions: )
No matching distribution found for dateutil

  在https://pypi.org/project/python-dateutil/似乎找到了答案,pip3 install python-dateutil,果然没有提示错误了,这个应该是依赖名称修改的原因所以一直提示没找到对应的版本