主頁 > 企業開發 > 由于PyWin32,無法將Django應用程式部署到Heroku

由于PyWin32,無法將Django應用程式部署到Heroku

2021-11-21 01:34:50 企業開發

所以我瀏覽了論壇以尋找答案,但沒有找到適合我的答案。我使用的是 Windows 機器,我的 Django 應用程式在 Localhost 上運行,但是當我嘗試將相同的應用程式部署到 Heroku 時,它給了我這個錯誤。

INFO: pip is looking at multiple versions of anyio to determine which version is compatible with other requirements. This could take a while.
remote:        ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
remote:        ERROR: No matching distribution found for pywin32>=223
remote:  !     Push rejected, failed to compile Python app.

我已經pywin32requirements.txt檔案中洗掉了,但是當我運行

git push heroku master

命令,我不斷收到相同的錯誤。

我還嘗試將我的所有源代碼復制到一個新檔案夾中并洗掉初始git檔案并重新初始化 Git,但似乎仍然沒有任何作業。

我讀過的沒有幫助的論壇文章包括:

  • 找不到滿足 pywin32==227 heroku 要求的版本
  • Heroku 無法安裝 pywin32 庫

請允許我附上我的全文error log

Enumerating objects: 268, done.
Counting objects: 100% (268/268), done.
Delta compression using up to 8 threads
Compressing objects: 100% (259/259), done.
Writing objects: 100% (268/268), 377.32 KiB | 4.49 MiB/s, done.
Total 268 (delta 147), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-20 stack
remote: -----> Determining which buildpack to use for this app
remote: -----> Python app detected
remote: -----> No Python version was specified. Using the buildpack default: python-3.9.8
remote:        To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> Installing python-3.9.8
remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote:        Ignoring pywin32: markers 'platform_system == "Windows"' don't match your environment
remote:        Collecting anyio==3.3.0
remote:          Downloading anyio-3.3.0-py3-none-any.whl (77 kB)
remote:        Collecting argon2-cffi==20.1.0
remote:          Downloading argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
remote:        Collecting asgiref==3.4.1
remote:          Downloading asgiref-3.4.1-py3-none-any.whl (25 kB)
remote:        Collecting attrs==21.2.0
remote:          Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
remote:        Collecting autopep8==1.5.7
remote:          Downloading autopep8-1.5.7-py2.py3-none-any.whl (45 kB)
remote:        Collecting Babel==2.9.1
remote:          Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
remote:        Collecting backcall==0.2.0
remote:          Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
remote:        Collecting beautifulsoup4==4.9.3
remote:          Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
remote:        Collecting bleach==4.0.0
remote:          Downloading bleach-4.0.0-py2.py3-none-any.whl (146 kB)
remote:        Collecting branca==0.4.2
remote:          Downloading branca-0.4.2-py3-none-any.whl (24 kB)
remote:        Collecting certifi==2021.5.30
remote:          Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
remote:        Collecting cffi==1.14.6
remote:          Downloading cffi-1.14.6-cp39-cp39-manylinux1_x86_64.whl (405 kB)
remote:        Collecting charset-normalizer==2.0.4
remote:          Downloading charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
remote:        Collecting click==8.0.1
remote:          Downloading click-8.0.1-py3-none-any.whl (97 kB)
remote:        Collecting click-plugins==1.1.1
remote:          Downloading click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
remote:        Collecting cligj==0.7.2
remote:          Downloading cligj-0.7.2-py3-none-any.whl (7.1 kB)
remote:        Collecting colorama==0.4.4
remote:          Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
remote:        Collecting cryptography==3.4.7
remote:          Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
remote:        Collecting cycler==0.10.0
remote:          Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
remote:        Collecting debugpy==1.4.1
remote:          Downloading debugpy-1.4.1-cp39-cp39-manylinux2014_x86_64.whl (4.5 MB)
remote:        Collecting decorator==5.0.9
remote:          Downloading decorator-5.0.9-py3-none-any.whl (8.9 kB)
remote:        Collecting defusedxml==0.7.1
remote:          Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
remote:        Collecting dj-database-url==0.5.0
remote:          Downloading dj_database_url-0.5.0-py2.py3-none-any.whl (5.5 kB)
remote:        Collecting Django==3.2.9
remote:          Downloading Django-3.2.9-py3-none-any.whl (7.9 MB)
remote:        Collecting django-crispy-forms==1.12.0
remote:          Downloading django_crispy_forms-1.12.0-py3-none-any.whl (122 kB)
remote:        Collecting django-heroku==0.3.1
remote:          Downloading django_heroku-0.3.1-py2.py3-none-any.whl (6.2 kB)
remote:        Collecting django-taggit==1.5.1
remote:          Downloading django_taggit-1.5.1-py3-none-any.whl (53 kB)
remote:        Collecting docopt==0.6.2
remote:          Downloading docopt-0.6.2.tar.gz (25 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting entrypoints==0.3
remote:          Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
remote:        Collecting folium==0.12.1
remote:          Downloading folium-0.12.1-py2.py3-none-any.whl (94 kB)
remote:        Collecting future==0.18.2
remote:          Downloading future-0.18.2.tar.gz (829 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting geocoder==1.38.1
remote:          Downloading geocoder-1.38.1-py2.py3-none-any.whl (98 kB)
remote:        Collecting geographiclib==1.52
remote:          Downloading geographiclib-1.52-py3-none-any.whl (38 kB)
remote:        Collecting geopy==2.2.0
remote:          Downloading geopy-2.2.0-py3-none-any.whl (118 kB)
remote:        Collecting gunicorn==20.1.0
remote:          Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
remote:        Collecting idna==3.2
remote:          Downloading idna-3.2-py3-none-any.whl (59 kB)
remote:        Collecting importlib-metadata==4.6.4
remote:          Downloading importlib_metadata-4.6.4-py3-none-any.whl (17 kB)
remote:        Collecting ipykernel==6.2.0
remote:          Downloading ipykernel-6.2.0-py3-none-any.whl (122 kB)
remote:        Collecting ipython==7.26.0
remote:          Downloading ipython-7.26.0-py3-none-any.whl (786 kB)
remote:        Collecting ipython-genutils==0.2.0
remote:          Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
remote:        Collecting ipywidgets==7.6.3
remote:          Downloading ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB)
remote:        Collecting jedi==0.18.0
remote:          Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
remote:        Collecting Jinja2==3.0.1
remote:          Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
remote:        Collecting Js2Py==0.71
remote:          Downloading Js2Py-0.71-py3-none-any.whl (1.0 MB)
remote:        Collecting json5==0.9.6
remote:          Downloading json5-0.9.6-py2.py3-none-any.whl (18 kB)
remote:        Collecting jsonschema==3.2.0
remote:          Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
remote:        Collecting jupyter-client==7.0.1
remote:          Downloading jupyter_client-7.0.1-py3-none-any.whl (122 kB)
remote:        Collecting jupyter-core==4.7.1
remote:          Downloading jupyter_core-4.7.1-py3-none-any.whl (82 kB)
remote:        Collecting jupyter-server==1.10.2
remote:          Downloading jupyter_server-1.10.2-py3-none-any.whl (392 kB)
remote:        Collecting jupyterlab==3.1.7
remote:          Downloading jupyterlab-3.1.7-py3-none-any.whl (8.5 MB)
remote:        Collecting jupyterlab-pygments==0.1.2
remote:          Downloading jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
remote:        Collecting jupyterlab-server==2.7.2
remote:          Downloading jupyterlab_server-2.7.2-py3-none-any.whl (55 kB)
remote:        Collecting jupyterlab-widgets==1.0.0
remote:          Downloading jupyterlab_widgets-1.0.0-py3-none-any.whl (243 kB)
remote:        Collecting keyring==23.1.0
remote:          Downloading keyring-23.1.0-py3-none-any.whl (32 kB)
remote:        Collecting kiwisolver==1.3.1
remote:          Downloading kiwisolver-1.3.1-cp39-cp39-manylinux1_x86_64.whl (1.2 MB)
remote:        Collecting lerc==0.1.0
remote:          Downloading lerc-0.1.0.tar.gz (567 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting MarkupSafe==2.0.1
remote:          Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
remote:        Collecting matplotlib==3.4.3
remote:          Downloading matplotlib-3.4.3-cp39-cp39-manylinux1_x86_64.whl (10.3 MB)
remote:        Collecting matplotlib-inline==0.1.2
remote:          Downloading matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB)
remote:        Collecting mistune==0.8.4
remote:          Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
remote:        Collecting munch==2.5.0
remote:          Downloading munch-2.5.0-py2.py3-none-any.whl (10 kB)
remote:        Collecting nbclassic==0.3.1
remote:          Downloading nbclassic-0.3.1-py3-none-any.whl (18 kB)
remote:        Collecting nbclient==0.5.4
remote:          Downloading nbclient-0.5.4-py3-none-any.whl (66 kB)
remote:        Collecting nbconvert==6.1.0
remote:          Downloading nbconvert-6.1.0-py3-none-any.whl (551 kB)
remote:        Collecting nbformat==5.1.3
remote:          Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
remote:        Collecting nest-asyncio==1.5.1
remote:          Downloading nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)
remote:        Collecting notebook==6.4.3
remote:          Downloading notebook-6.4.3-py3-none-any.whl (9.9 MB)
remote:        Collecting ntlm-auth==1.5.0
remote:          Downloading ntlm_auth-1.5.0-py2.py3-none-any.whl (29 kB)
remote:        Collecting numpy==1.21.4
remote:          Downloading numpy-1.21.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
remote:        Collecting oauthlib==3.1.1
remote:          Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
remote:        Collecting packaging==21.0
remote:          Downloading packaging-21.0-py3-none-any.whl (40 kB)
remote:        Collecting pandas==1.3.2
remote:          Downloading pandas-1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
remote:        Collecting pandocfilters==1.4.3
remote:          Downloading pandocfilters-1.4.3.tar.gz (16 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting parso==0.8.2
remote:          Downloading parso-0.8.2-py2.py3-none-any.whl (94 kB)
remote:        Collecting pickleshare==0.7.5
remote:          Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
remote:        Collecting Pillow==8.3.1
remote:          Downloading Pillow-8.3.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB)
remote:        Collecting prometheus-client==0.11.0
remote:          Downloading prometheus_client-0.11.0-py2.py3-none-any.whl (56 kB)
remote:        Collecting prompt-toolkit==3.0.20
remote:          Downloading prompt_toolkit-3.0.20-py3-none-any.whl (370 kB)
remote:        Collecting psycopg2==2.9.1
remote:          Downloading psycopg2-2.9.1.tar.gz (379 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting psycopg2-binary==2.9.1
remote:          Downloading psycopg2_binary-2.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
remote:        Collecting pycodestyle==2.7.0
remote:          Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
remote:        Collecting pycparser==2.20
remote:          Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
remote:        Collecting Pygments==2.10.0
remote:          Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
remote:        Collecting pyjsparser==2.7.1
remote:          Downloading pyjsparser-2.7.1.tar.gz (24 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting pyparsing==2.4.7
remote:          Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
remote:        Collecting PyPrind==2.11.3
remote:          Downloading PyPrind-2.11.3-py2.py3-none-any.whl (8.4 kB)
remote:        Collecting pyproj==3.1.0
remote:          Downloading pyproj-3.1.0-cp39-cp39-manylinux2010_x86_64.whl (6.6 MB)
remote:        Collecting pyrsistent==0.18.0
remote:          Downloading pyrsistent-0.18.0-cp39-cp39-manylinux1_x86_64.whl (117 kB)
remote:        Collecting pyshp==2.1.3
remote:          Downloading pyshp-2.1.3.tar.gz (219 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting pySmartDL==1.3.4
remote:          Downloading pySmartDL-1.3.4-py3-none-any.whl (20 kB)
remote:        Collecting python-dateutil==2.8.2
remote:          Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
remote:        Collecting python-decouple==3.4
remote:          Downloading python_decouple-3.4-py3-none-any.whl (9.5 kB)
remote:        Collecting pytz==2021.1
remote:          Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
remote:        Collecting pyzmq==22.2.1
remote:          Downloading pyzmq-22.2.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
remote:        Collecting ratelim==0.1.6
remote:          Downloading ratelim-0.1.6-py2.py3-none-any.whl (4.0 kB)
remote:        Collecting requests==2.26.0
remote:          Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
remote:        Collecting requests-kerberos==0.12.0
remote:          Downloading requests_kerberos-0.12.0-py2.py3-none-any.whl (14 kB)
remote:        Collecting requests-negotiate-sspi==0.5.2
remote:          Downloading requests_negotiate_sspi-0.5.2-py2.py3-none-any.whl (7.1 kB)
remote:        Collecting requests-ntlm==1.1.0
remote:          Downloading requests_ntlm-1.1.0-py2.py3-none-any.whl (5.7 kB)
remote:        Collecting requests-oauthlib==1.3.0
remote:          Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
remote:        Collecting requests-toolbelt==0.9.1
remote:          Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
remote:        Collecting requests-unixsocket==0.2.0
remote:          Downloading requests_unixsocket-0.2.0-py2.py3-none-any.whl (11 kB)
remote:        Collecting Send2Trash==1.8.0
remote:          Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
remote:        Collecting setuptools-scm==6.0.1
remote:          Downloading setuptools_scm-6.0.1-py3-none-any.whl (27 kB)
remote:        Collecting Shapely==1.7.1
remote:          Downloading Shapely-1.7.1-1-cp39-cp39-manylinux1_x86_64.whl (1.0 MB)
remote:        Collecting six==1.16.0
remote:          Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
remote:        Collecting sniffio==1.2.0
remote:          Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
remote:        Collecting soupsieve==2.2.1
remote:          Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB)
remote:        Collecting sqlparse==0.4.1
remote:          Downloading sqlparse-0.4.1-py3-none-any.whl (42 kB)
remote:        Collecting terminado==0.11.1
remote:          Downloading terminado-0.11.1-py3-none-any.whl (15 kB)
remote:        Collecting testpath==0.5.0
remote:          Downloading testpath-0.5.0-py3-none-any.whl (84 kB)
remote:        Collecting toml==0.10.2
remote:          Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
remote:        Collecting tornado==6.1
remote:          Downloading tornado-6.1-cp39-cp39-manylinux2010_x86_64.whl (427 kB)
remote:        Collecting traitlets==5.0.5
remote:          Downloading traitlets-5.0.5-py3-none-any.whl (100 kB)
remote:        Collecting tzdata==2021.1
remote:          Downloading tzdata-2021.1-py2.py3-none-any.whl (338 kB)
remote:        Collecting tzlocal==3.0
remote:          Downloading tzlocal-3.0-py3-none-any.whl (16 kB)
remote:        Collecting ujson==4.1.0
remote:          Downloading ujson-4.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (179 kB)
remote:        Collecting urllib3==1.26.6
remote:          Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
remote:        Collecting wcwidth==0.2.5
remote:          Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
remote:        Collecting webencodings==0.5.1
remote:          Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
remote:        Collecting websocket-client==1.2.1
remote:          Downloading websocket_client-1.2.1-py2.py3-none-any.whl (52 kB)
remote:        Collecting whitenoise==5.3.0
remote:          Downloading whitenoise-5.3.0-py2.py3-none-any.whl (19 kB)
remote:        Collecting widgetsnbextension==3.5.1
remote:          Downloading widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)
remote:        Collecting winkerberos==0.8.0
remote:          Downloading winkerberos-0.8.0.zip (44 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting wrapt==1.12.1
remote:          Downloading wrapt-1.12.1.tar.gz (27 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting zipp==3.5.0
remote:          Downloading zipp-3.5.0-py3-none-any.whl (5.7 kB)
remote:        Collecting pexpect>4.3
remote:          Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
remote:        Collecting SecretStorage>=3.2
remote:          Downloading SecretStorage-3.3.1-py3-none-any.whl (15 kB)
remote:        Collecting jeepney>=0.4.2
remote:          Downloading jeepney-0.7.1-py3-none-any.whl (54 kB)
remote:        Collecting pykerberos<2.0.0,>=1.1.8
remote:          Downloading pykerberos-1.2.1.tar.gz (24 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        Collecting pypiwin32>=223
remote:          Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
remote:        Collecting ptyprocess
remote:          Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
remote:        INFO: pip is looking at multiple versions of pykerberos to determine which version is compatible with other requirements. This could take a while.
remote:        Collecting pykerberos<2.0.0,>=1.1.8
remote:          Downloading pykerberos-1.1.14.tar.gz (20 kB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'done'
remote:        INFO: pip is looking at multiple versions of ptyprocess to determine which version is compatible with other requirements. This could take a while.
remote:        Collecting ptyprocess
remote:          Downloading ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
remote:        INFO: pip is looking at multiple versions of pexpect to determine which version is compatible with other requirements. This could take a while.
remote:        Collecting pexpect>4.3
remote:          Downloading pexpect-4.7.0-py2.py3-none-any.whl (58 kB)
remote:        INFO: pip is looking at multiple versions of jeepney to determine which version is compatible with other requirements. This could take a while.
remote:        Collecting jeepney>=0.4.2
remote:          Downloading jeepney-0.7.0-py3-none-any.whl (53 kB)
remote:        INFO: pip is looking at multiple versions of zipp to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of geographiclib to determine which version is compatible with other requirements. This could take a while.        
remote:        INFO: pip is looking at multiple versions of geocoder to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of future to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of folium to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of entrypoints to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of docopt to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of django-taggit to determine which version is compatible with other requirements. This could take a while.        
remote:        INFO: pip is looking at multiple versions of django-heroku to determine which version is compatible with other requirements. This could take a while.        
remote:        INFO: pip is looking at multiple versions of django-crispy-forms to determine which version is compatible with other requirements. This could take a while.  
remote:        INFO: pip is looking at multiple versions of django to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of dj-database-url to determine which version is compatible with other requirements. This could take a while.      
remote:        INFO: pip is looking at multiple versions of defusedxml to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of decorator to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of debugpy to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of cycler to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of cryptography to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of cligj to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of click-plugins to determine which version is compatible with other requirements. This could take a while.        
remote:        INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of charset-normalizer to determine which version is compatible with other requirements. This could take a while.   
remote:        INFO: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of branca to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of bleach to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This could take a while.       
remote:        INFO: pip is looking at multiple versions of backcall to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of autopep8 to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of asgiref to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of argon2-cffi to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
remote:        INFO: pip is looking at multiple versions of anyio to determine which version is compatible with other requirements. This could take a while.
remote:        ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
remote:        ERROR: No matching distribution found for pywin32>=223
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed
remote:  !
remote:  ! ## Warning - The same version of this code has already been built: 5876ebd1f6928d422590ee2bced6db875179e28e
remote:  !
remote:  ! We have detected that you have triggered a build from source code with version 5876ebd1f6928d422590ee2bced6db875179e28e
remote:  ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote:  !
remote:  ! If you are developing on a branch and deploying via git you must run:
remote:  !
remote:  !     git push heroku <branchname>:main
remote:  !
remote:  ! This article goes into details on the behavior:
remote:  !   https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected to djangogis.
remote:
To https://git.heroku.com/djangogis.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/djangogis.git'

然后我的需求檔案

任何能幫助我的人,我將不勝感激。我到底在哪里弄錯了?

uj5u.com熱心網友回復:

在你的當前requirements.txtpywin32用環境標記標記platform_system == "Windows"我認為語法是錯誤的。PEP 496的正確語法是:

pywin32==223; sys_platform == "win32"

轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/361265.html

標籤:Python 姜戈 混帐 英雄联盟

上一篇:HerokuNode.jsDiscordBot未啟動

下一篇:在Heroku服務器上使用Selenium訪問Facebook時,用戶已超出“max_questions”資源錯誤

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • IEEE1588PTP在數字化變電站時鐘同步方面的應用

    IEEE1588ptp在數字化變電站時鐘同步方面的應用 京準電子科技官微——ahjzsz 一、電力系統時間同步基本概況 隨著對IEC 61850標準研究的不斷深入,國內外學者提出基于IEC61850通信標準體系建設數字化變電站的發展思路。數字化變電站與常規變電站的顯著區別在于程序層傳統的電流/電壓互 ......

    uj5u.com 2020-09-10 03:51:52 more
  • HTTP request smuggling CL.TE

    CL.TE 簡介 前端通過Content-Length處理請求,通過反向代理或者負載均衡將請求轉發到后端,后端Transfer-Encoding優先級較高,以TE處理請求造成安全問題。 檢測 發送如下資料包 POST / HTTP/1.1 Host: ac391f7e1e9af821806e890 ......

    uj5u.com 2020-09-10 03:52:11 more
  • 網路滲透資料大全單——漏洞庫篇

    網路滲透資料大全單——漏洞庫篇漏洞庫 NVD ——美國國家漏洞庫 →http://nvd.nist.gov/。 CERT ——美國國家應急回應中心 →https://www.us-cert.gov/ OSVDB ——開源漏洞庫 →http://osvdb.org Bugtraq ——賽門鐵克 →ht ......

    uj5u.com 2020-09-10 03:52:15 more
  • 京準講述NTP時鐘服務器應用及原理

    京準講述NTP時鐘服務器應用及原理京準講述NTP時鐘服務器應用及原理 安徽京準電子科技官微——ahjzsz 北斗授時原理 授時是指接識訓通過某種方式獲得本地時間與北斗標準時間的鐘差,然后調整本地時鐘使時差控制在一定的精度范圍內。 衛星導航系統通常由三部分組成:導航授時衛星、地面檢測校正維護系統和用戶 ......

    uj5u.com 2020-09-10 03:52:25 more
  • 利用北斗衛星系統設計NTP網路時間服務器

    利用北斗衛星系統設計NTP網路時間服務器 利用北斗衛星系統設計NTP網路時間服務器 安徽京準電子科技官微——ahjzsz 概述 NTP網路時間服務器是一款支持NTP和SNTP網路時間同步協議,高精度、大容量、高品質的高科技時鐘產品。 NTP網路時間服務器設備采用冗余架構設計,高精度時鐘直接來源于北斗 ......

    uj5u.com 2020-09-10 03:52:35 more
  • 詳細解讀電力系統各種對時方式

    詳細解讀電力系統各種對時方式 詳細解讀電力系統各種對時方式 安徽京準電子科技官微——ahjzsz,更多資料請添加VX 衛星同步時鐘是我京準公司開發研制的應用衛星授時時技術的標準時間顯示和發送的裝置,該裝置以M國全球定位系統(GLOBAL POSITIONING SYSTEM,縮寫為GPS)或者我國北 ......

    uj5u.com 2020-09-10 03:52:45 more
  • 如何保證外包團隊接入企業內網安全

    不管企業規模的大小,只要企業想省錢,那么企業的某些服務就一定會采用外包的形式,然而看似美好又經濟的策略,其實也有不好的一面。下面我通過安全的角度來聊聊使用外包團的安全隱患問題。 先看看什么服務會使用外包的,最常見的就是話務/客服這種需要大量重復性、無技術性的服務,或者是一些銷售外包、特殊的職能外包等 ......

    uj5u.com 2020-09-10 03:52:57 more
  • PHP漏洞之【整型數字型SQL注入】

    0x01 什么是SQL注入 SQL是一種注入攻擊,通過前端帶入后端資料庫進行惡意的SQL陳述句查詢。 0x02 SQL整型注入原理 SQL注入一般發生在動態網站URL地址里,當然也會發生在其它地發,如登錄框等等也會存在注入,只要是和資料庫打交道的地方都有可能存在。 如這里http://192.168. ......

    uj5u.com 2020-09-10 03:55:40 more
  • [GXYCTF2019]禁止套娃

    git泄露獲取原始碼 使用GET傳參,引數為exp 經過三層過濾執行 第一層過濾偽協議,第二層過濾帶引數的函式,第三層過濾一些函式 preg_replace('/[a-z,_]+\((?R)?\)/', NULL, $_GET['exp'] (?R)參考當前正則運算式,相當于匹配函式里的引數 因此傳遞 ......

    uj5u.com 2020-09-10 03:56:07 more
  • 等保2.0實施流程

    流程 結論 ......

    uj5u.com 2020-09-10 03:56:16 more
最新发布
  • 使用Django Rest framework搭建Blog

    在前面的Blog例子中我們使用的是GraphQL, 雖然GraphQL的使用處于上升趨勢,但是Rest API還是使用的更廣泛一些. 所以還是決定回到傳統的rest api framework上來, Django rest framework的官網上給了一個很好用的QuickStart, 我參考Qu ......

    uj5u.com 2023-04-20 08:17:54 more
  • 記錄-new Date() 我忍你很久了!

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 大家平時在開發的時候有沒被new Date()折磨過?就是它的諸多怪異的設定讓你每每用的時候,都可能不小心踩坑。造成程式意外出錯,卻一下子找不到問題出處,那叫一個煩透了…… 下面,我就列舉它的“四宗罪”及應用思考 可惡的四宗罪 1. Sa ......

    uj5u.com 2023-04-20 08:17:47 more
  • 使用Vue.js實作文字跑馬燈效果

    實作文字跑馬燈效果,首先用到 substring()截取 和 setInterval計時器 clearInterval()清除計時器 效果如下: 實作代碼如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta ......

    uj5u.com 2023-04-20 08:12:31 more
  • JavaScript 運算子

    JavaScript 運算子/運算子 在 JavaScript 中,有一些運算子可以使代碼更簡潔、易讀和高效。以下是一些常見的運算子: 1、可選鏈運算子(optional chaining operator) ?.是可選鏈運算子(optional chaining operator)。?. 可選鏈操 ......

    uj5u.com 2023-04-20 08:02:25 more
  • CSS—相對單位rem

    一、概述 rem是一個相對長度單位,它的單位長度取決于根標簽html的字體尺寸。rem即root em的意思,中文翻譯為根em。瀏覽器的文本尺寸一般默認為16px,即默認情況下: 1rem = 16px rem布局原理:根據CSS媒體查詢功能,更改根標簽的字體尺寸,實作rem單位隨螢屏尺寸的變化,如 ......

    uj5u.com 2023-04-20 08:02:21 more
  • 我的第一個NPM包:panghu-planebattle-esm(胖虎飛機大戰)使用說明

    好家伙,我的包終于開發完啦 歡迎使用胖虎的飛機大戰包!! 為你的主頁添加色彩 這是一個有趣的網頁小游戲包,使用canvas和js開發 使用ES6模塊化開發 效果圖如下: (覺得圖片太sb的可以自己改) 代碼已開源!! Git: https://gitee.com/tang-and-han-dynas ......

    uj5u.com 2023-04-20 08:01:50 more
  • 如何在 vue3 中使用 jsx/tsx?

    我們都知道,通常情況下我們使用 vue 大多都是用的 SFC(Signle File Component)單檔案組件模式,即一個組件就是一個檔案,但其實 Vue 也是支持使用 JSX 來撰寫組件的。這里不討論 SFC 和 JSX 的好壞,這個仁者見仁智者見智。本篇文章旨在帶領大家快速了解和使用 Vu ......

    uj5u.com 2023-04-20 08:01:37 more
  • 【Vue2.x原始碼系列06】計算屬性computed原理

    本章目標:計算屬性是如何實作的?計算屬性快取原理以及洋蔥模型的應用?在初始化Vue實體時,我們會給每個計算屬性都創建一個對應watcher,我們稱之為計算屬性watcher ......

    uj5u.com 2023-04-20 08:01:31 more
  • http1.1與http2.0

    一、http是什么 通俗來講,http就是計算機通過網路進行通信的規則,是一個基于請求與回應,無狀態的,應用層協議。常用于TCP/IP協議傳輸資料。目前任何終端之間任何一種通信方式都必須按Http協議進行,否則無法連接。tcp(三次握手,四次揮手)。 請求與回應:客戶端請求、服務端回應資料。 無狀態 ......

    uj5u.com 2023-04-20 08:01:10 more
  • http1.1與http2.0

    一、http是什么 通俗來講,http就是計算機通過網路進行通信的規則,是一個基于請求與回應,無狀態的,應用層協議。常用于TCP/IP協議傳輸資料。目前任何終端之間任何一種通信方式都必須按Http協議進行,否則無法連接。tcp(三次握手,四次揮手)。 請求與回應:客戶端請求、服務端回應資料。 無狀態 ......

    uj5u.com 2023-04-20 08:00:32 more