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

HathimW

Mitglied
hi everybody,

I joined this group to learn more about web development. I'm familiar with Java, C, and HTML, and am actively learning CSS and Python. I am highly interested in programming, so I set a goal for myself to learn Python. And I'm facing some issues! Can someone 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:
 Collecting pypaystack==1.24
remote: Downloading pypaystack-1.24.tar.gz (5.4 kB)
remote: Preparing metadata (setup.py): started
remote: Preparing metadata (setup.py): finished with status 'error'
remote: error: subprocess-exited-with-error
remotely:
remote: × python setup.py egg_info did not run successfully.
remote: │ exit code: 1
remote: ╰─> [12 lines of output]
remote: Traceback (most recent call last):
remote: File "<string>", line 2, in <module>
remote: File "<pip-setuptools-caller>", line 34, in <module>
remote: File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/setup.py", line 2, in <module>
remote: from pypaystack import version
remote: File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/__init__.py", line 3, in <module>
remote: from .customers import Customer
remote: File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/customers.py", line 1, in <module>
remote: from .baseapi import BaseAPI
remote: File "/tmp/pip-install-h6ay7jb3/pypaystack_2a3b97aa3d934da4b6c7a7d81a4a6ad2/pypaystack/baseapi.py", line 2, in <module>
remote: import requests
remote: ModuleNotFoundError: No module named 'requests'
remote: [end of output]
remotely:
remote: note: This error originates from a subprocess, and is likely not a problem with pip.
remote: error: metadata-generation-failed
remotely:
remote: × Encountered error while generating package metadata.
remote: ╰─> See above for output.
remotely:
remote: note: This is an issue with the package mentioned above, not pip.
remote: hint: See above for details.
remotely: ! 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!
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
B 2 Wege Kommunikation zwischen Python/selenium Code und von Diesem in Seite eingefügten Javascript Code? Andere Programmiersprachen 8
V Adding many Python files and directories to a single dmg file Andere Programmiersprachen 2
M Objektorientierte Programmierung in Python Andere Programmiersprachen 3
D Python - Vererbung Andere Programmiersprachen 2
D Tensorflow, Python - Code verstehen Andere Programmiersprachen 2
D Python - Tensorflow installieren - Datei in Spyder öffnen Andere Programmiersprachen 6
Kirby.exe Relative Imports in Python Andere Programmiersprachen 10
A Python Andere Programmiersprachen 3
D Python (Machine Learning) - linspace Andere Programmiersprachen 7
B Python: Wie entferne ich Daten aus einer Datei und plotte sie? Andere Programmiersprachen 2
G python – getting bad request on tests using django rest framework Andere Programmiersprachen 1
Kirby.exe Python - JSON Sortieren Andere Programmiersprachen 5
Kirby.exe Python – Valid Characters in JSON Andere Programmiersprachen 6
L Fehlermeldung beim lesen aus einer Datei mit Python Andere Programmiersprachen 4
D Decorators with parameters in Python Andere Programmiersprachen 2
J Multidimensionales Array in Python Andere Programmiersprachen 11
Kirby.exe Python Anfänger schafft es nicht User Input einzulesen Andere Programmiersprachen 7
D Python - ModuleNotFoundError: Andere Programmiersprachen 6
G (Python) Werte einer ausgelesenen csv Datei verwalten Andere Programmiersprachen 2
D Python - pytz installieren Andere Programmiersprachen 5
M Python Objekte Andere Programmiersprachen 2
E Werte von Python an Java senden Andere Programmiersprachen 13
AssELAss Python Variable hochzählen? Andere Programmiersprachen 5

Ähnliche Java Themen

Neue Themen


Oben