Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing pynoco: missing requirements.txt in package #1

Open
mohamedmeqlad99 opened this issue Oct 16, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@mohamedmeqlad99
Copy link

When attempting to install pynoco using pip, I encounter the following error:

Defaulting to user installation because normal site-packages is not writeable Collecting pynoco Using cached pynoco-1.0.0.tar.gz (5.0 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-0k48jy25/pynoco_52672f16a1fd41b3b9b9613854c94f78/setup.py", line 10, in with open('requirements.txt') as req_file: ^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

It seems the package is trying to open a requirements.txt file that is not included in the package distribution.

Steps to reproduce:

  1. Run pip install pynoco

Expected behavior:
The package should install successfully without errors.

Actual behavior:
The installation fails due to a missing requirements.txt file.

@TalaatHasanin TalaatHasanin added the bug Something isn't working label Oct 16, 2024
@TalaatHasanin TalaatHasanin self-assigned this Oct 16, 2024
@TalaatHasanin
Copy link
Owner

Thanks @mohamedmeqlad99
will check out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants