lundi 1 mars 2021

Command errored out with exit status 1:

I have problem when i try to push my app on heroku, so when i write git push heroku master this error is appear

    remote:            ERROR: Command errored out with exit status 1:
    remote:             command: /app/.heroku/python/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-48na90v5/importlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-48na90v5/importlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-dccx97n0       
    remote:                 cwd: /tmp/pip-install-48na90v5/importlib/
    remote:            Complete output (11 lines):
    remote:            Traceback (most recent call last):
    remote:              File "<string>", line 1, in <module>
    remote:              File "/app/.heroku/python/lib/python3.6/site-packages/setuptools/__init__.py", line 5, in <module>
    remote:                import distutils.core
    remote:              File "/app/.heroku/python/lib/python3.6/distutils/core.py", line 16, in <module>
    remote:                from distutils.dist import Distribution
    remote:              File "/app/.heroku/python/lib/python3.6/distutils/dist.py", line 19, in <module>
    remote:                from distutils.util import check_environ, strtobool, rfc822_escape
    remote:              File "/app/.heroku/python/lib/python3.6/distutils/util.py", line 9, in <module>
    remote:                import importlib.util
    remote:            ModuleNotFoundError: No module named 'importlib.util'
    remote:            ----------------------------------------
    remote:        ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    remote:  !     Push rejected, failed to compile Python app.
    remote: 
    remote:  !     Push failed



Aucun commentaire:

Enregistrer un commentaire