错误提示如下:
from dateutil import relativedelta
ModuleNotFoundError: No module named 'dateutil'
默认安装执行如下:pip install dateutil
但是会提示如下错误:
ERROR: Could not find a version that satisfies the requirement dateutil (from versions: none)
ERROR: No matching distribution found for dateutil
解决办法,安装执行命令修改成:pip install python-dateutil
网友评论