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

pip installation issues README.md #12

Open
rubinglen opened this issue Feb 18, 2023 · 1 comment
Open

pip installation issues README.md #12

rubinglen opened this issue Feb 18, 2023 · 1 comment

Comments

@rubinglen
Copy link

rubinglen commented Feb 18, 2023

I'm installing on Ubuntu and pip throws an error on install due to a missing readme file. Here is the error I am gettting:

Collecting cgmquantify
Using cached cgmquantify-0.5.tar.gz (4.6 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-ms784f7n/cgmquantify_3fb9c5805f8f448fb3aface6a99b80a1/setup.py", line 9, in
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-ms784f7n/cgmquantify_3fb9c5805f8f448fb3aface6a99b80a1/README.md'
[end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

@Doraemonwei
Copy link

You can use this init_.py file to replace original init.py file
new_init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants