我怎么会被这样的兼容性不匹配所困扰?python dateutil

我怎么会被这样的兼容性不匹配所困扰?python dateutil,python,heroku,python-dateutil,Python,Heroku,Python Dateutil,我正在开发一个django应用程序,包括Boto3;botocore(用于aws s3连接)、pandas(我想自动包含在django中)和heroku(以及其他) 我的问题是: -BotoCore1.12.250要求python dateutil=2.5.0 -heroku 0.24.2要求python dateutil>==1.5 均为最新升级版本。 因为我是一个初学者,我不敢相信没有人同时使用heroku和boto 3,或者heroku和pandas——它们是很受欢迎的PIP! 有人怎么能

我正在开发一个django应用程序,包括Boto3;botocore(用于aws s3连接)、pandas(我想自动包含在django中)和heroku(以及其他) 我的问题是: -BotoCore1.12.250要求python dateutil=2.5.0 -heroku 0.24.2要求python dateutil>==1.5

均为最新升级版本。 因为我是一个初学者,我不敢相信没有人同时使用heroku和boto 3,或者heroku和pandas——它们是很受欢迎的PIP! 有人怎么能同时使用heroku pip和pandas或boto呢

正因为如此,我无法锁定我的环境,也无法推到heroku

以下是我的requirements.txt:

astroid==2.2.5
boto3==1.9.250
botocore==1.12.250
certifi==2019.6.16
chardet==3.0.4
colorama==0.4.1
dj-database-url==0.5.0
Django==2.2.6
django-autoslug==1.9.6
django-ckeditor==5.7.1
django-csvimport==2.12
django-heroku==0.3.1
django-isbn-field==0.5.2
django-js-asset==1.2.2
django-storages==1.7.2
docutils==0.15.2
gunicorn==19.9.0
heroku==0.1.4
html5lib==1.0.1
idna==2.8
isort==4.3.21
jmespath==0.9.4
json-table-schema==0.2.1
lazy-object-proxy==1.4.1
lxml==4.3.4
mccabe==0.6.1
messytables==0.15.2
numpy==1.16.4
pandas==0.24.2
Pillow==6.0.0
pipenv==2018.11.26
psycopg2==2.8.3
pylint==2.3.1
python-dateutil==1.5
python-magic==0.4.15
python-magic-bin==0.4.14
python-stdnum==1.11
pytz==2019.3
requests==2.22.0
s3transfer==0.2.1
six==1.12.0
SQLAlchemy==1.3.5
sqlparse==0.3.0
typed-ast==1.4.0
Unidecode==1.1.1
urllib3==1.25.3
virtualenv==16.6.1
virtualenv-clone==0.5.3
webencodings==0.5.1
wrapt==1.11.2
xlrd==1.2.0
在本例中,我强制python dateutil为1.5,然后在锁定pipenv时出现以下错误:

ERROR: botocore 1.12.250 has requirement python-dateutil<3.0.0,>=2.1; 
python_version >= "2.7", but you'll have python-dateutil 1.5 which is 
incompatible.
ERROR: pandas 0.24.2 has requirement python-dateutil>=2.5.0, but you'll 
have python-dateutil 1.5 which is incompatible.
我希望避免与期望的和必需的包不匹配。
谢谢你的帮助,我已经被困在这几个小时了。

heroku 0.1.4已被弃用,如本页顶部所述:


请尝试使用社区支持的heroku3软件包,因为它具有更现代的依赖关系。

谢谢Rob,我看到了这个答案,但它不是由heroku团队开发的,所有命令都不同。关于这个软件包没有太多文档,我也不确定它是否可靠。。。
ERROR: heroku 0.1.4 has requirement python-dateutil==1.5 , but you'll 
have python-dateutil 2.8 which is incompatible.