Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
903 connectés 

  FORUM HardWare.fr
  Programmation
  Python

  When deployed to Heroku, python setup.py egg info did not run successf

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

When deployed to Heroku, python setup.py egg info did not run successf

n°2422030
joun17
be cool
Posté le 14-07-2022 à 12:05:58  profilanswer
 

Hi everybody,
I joined this group to learn more about web development. I am familiar with Java, C, and HTML, and am actively learning CSS and Python. I am highly interested in programming, which is why I set a goal for myself to learn Python. And I'm facing some issues! Can somebody help me?
 
After deploying and hosting my website, I upgraded my pip version. Then I installed the pypaystack package. When I try to push to Heroku, I get the error shown below. In the development stage, the project is running smoothly.

Code :
  1. Collecting pypaystack==1.24
  2. remote:          Downloading pypaystack-1.24.tar.gz (5.4 kB)
  3. remote:          Preparing metadata (setup.py): started
  4. remote:          Preparing metadata (setup.py): finished with status 'error'
  5. remote:          error: subprocess-exited-with-error
  6. remote:
  7. remote:          × python setup.py egg_info did not run successfully.
  8. remote:          │ exit code: 1
  9. remote:          ╰─> [12 lines of output]
  10. remote:              Traceback (most recent call last):
  11. remote:                File "<string>", line 2, in <module>
  12. remote:                File "<pip-setuptools-caller>", line 34, in <module>
  13. remote:                File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/setup.py", line 2, in <module>
  14. remote:                  from pypaystack import version
  15. remote:                File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/__init__.py", line 3, in <module>
  16. remote:                  from .customers import Customer
  17. remote:                File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/customers.py", line 1, in <module>
  18. remote:                  from .baseapi import BaseAPI
  19. remote:                File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/baseapi.py", line 2, in <module>
  20. remote:                  import requests
  21. remote:              ModuleNotFoundError: No module named 'requests'
  22. remote:              [end of output]
  23. remote:
  24. remote:          note: This error originates from a subprocess, and is likely not a problem with pip.
  25. remote:        error: metadata-generation-failed
  26. remote:
  27. remote:        × Encountered error while generating package metadata.
  28. remote:        ╰─> See above for output.
  29. remote:
  30. remote:        note: This is an issue with the package mentioned above, not pip.
  31. remote:        hint: See above for details.
  32. remote:  !     Push rejected, failed to compile Python app.


What can be the issue? I even created a new virtual environment but the error remains.
 
I'm hoping that this community will assist me on my path.
Thanks!

mood
Publicité
Posté le 14-07-2022 à 12:05:58  profilanswer
 

n°2422074
rat de com​bat
attention rongeur méchant!
Posté le 15-07-2022 à 16:02:28  profilanswer
 

Hello, welcome to the forum. Please note that this is a french forum however, if you want to write in english you might want to choose another forum or something like stackoverflow. ;)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Python

  When deployed to Heroku, python setup.py egg info did not run successf

 

Sujets relatifs
Script bash/python extraire données bddDecorators in Python
Raccourci bureau en Pythonerreur requete ldap depuis python
[Résolu] API Maps : info-bulle qui s'affiche plusChaînes de caractères en Python
[PYTHON] revenir "menu principal"Création d'une clé de registre dans un paquet python
[PYTHON] récupérer données 
Plus de sujets relatifs à : When deployed to Heroku, python setup.py egg info did not run successf


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR