推送拒绝 Heroku Python Flask 要求失败 exiv2==0.3.1

我正在尝试将我的烧瓶应用程序推送到 heroku 进行托管。一切顺利,直到 PUSH 到 heroku。期间我收到错误remote:Building source: ,无法满足 exiv2==0.3.1 的要求。exiv2==0.3.1根据我一直在做的阅读,我知道需求部分通常是发生错误的地方。但是,我不确定除了删除 exiv2 依赖代码和丢失一些功能之外如何继续......???

要求.txt


altgraph==0.17

asgiref==3.2.10

blinker==1.4

blurhash==1.1.4

boost==0.1

certifi==2020.6.20

chardet==3.0.4

click==7.1.2

cmake==3.17.3

cycler==0.10.0

decorator==4.4.2

dlib==19.20.0

dnspython==2.0.0

docutils==0.16

email-validator==1.1.1

exiv2==0.3.1  <-------------------(ITS here format/version is correct)

face-recognition==1.3.0

face-recognition-models==0.3.0

Flask==1.1.2

Flask-Cors==3.0.8

Flask-Mail==0.9.1

Flask-WTF==0.14.3

future==0.18.2

idna==2.10

itsdangerous==1.1.0

Jinja2==2.11.2

joblib==0.16.0

Kivy==1.11.1

kivy-deps.angle==0.2.0

kivy-deps.glew==0.2.0

kivy-deps.sdl2==0.2.0

Kivy-Garden==0.1.4

kiwisolver==1.2.0

MarkupSafe==1.1.1

Mastodon.py==1.5.1

matplotlib==3.3.1

numpy==1.19.0

opencv-python==4.3.0.36

pefile==2019.4.18

piexif==1.1.3

Pillow==7.2.0

pyexiv2==2.3.1

Pygments==2.6.1

PyInstaller==3.6

pyparsing==2.4.7

python-dateutil==2.8.1

python-magic==0.4.18

pytz==2020.1

pywin32-ctypes==0.2.0

requests==2.24.0

scikit-learn==0.23.1

scipy==1.5.1

self==0.0.0

six==1.15.0

SQLAlchemy==1.3.18

sqlparse==0.3.1

threadpoolctl==2.1.0

train==0.0.5

urllib3==1.25.9

Werkzeug==1.0.1

WTForms==2.3.3

来自控制台的错误


C:\Flask>git push heroku master

Enumerating objects: 17065, done.

Counting objects: 100% (17065/17065), done.

Delta compression using up to 8 threads

Compressing objects: 100% (13088/13088), done.

Writing objects: 100% (17065/17065), 251.56 MiB | 140.00 KiB/s, done.

Total 17065 (delta 3593), reused 17065 (delta 3593)

remote: Compressing source files... done.


万千封印
浏览 118回答 1
1回答

DIEA

exiv2 仅适用于 Windows,而 Heroku 运行 Linux。您需要完全更换它。尝试exif。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python