No .egg-info directory found for certain packages
See original GitHub issueEnvironment
- pip version: 20.2.2
- Python version: 3.7.6 [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]
- OS: Fedora 31 (Workstation) x86_64 (kernel 5.7.11-100.fc31.x86_64
Description
Several packages (PyYAML, pylzma, bokeh) fail installation after downloading, with a cryptic ERROR: No .egg-info directory found in /dev/shm/...
Expected behavior
Installing the package.
How to Reproduce
- Install XPLOR.
- Update pip and setuptools, install wheel:
pyXplor -m pip install -U setuptools pip wheel
- Try to install PyYAML:
pyXplor -m pip install -U pyyaml
Output
$ sudo pyXplor -m pip install pyyaml
Collecting pyyaml
Using cached PyYAML-5.3.1.tar.gz (269 kB)
ERROR: No .egg-info directory found in /dev/shm/xplor-nih-root-8733/pip-pip-egg-info-36yqnfog
PyInterp::command: error executing: >import runpy, sys
runpy.run_module("pip", run_name="__main__")<
Pip works with my normal python distribution just fine, however I currently need to use this python version and so I would like to port my normal python environment into there. I don’t expect official support for anything related to custom forks, but I would really appreciate any hints to fix the issue, because my knowledge of python and its environment is rather limited and I cannot extract any meaning out of this particular error message.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
ERROR: No .egg-info directory found in /tmp/pip-pip ... - GitHub
Describe the bug When I try to install the shap python package with actions/setup-python, I get the following error: ERROR: No .egg-info ......
Read more >What does a "Could not find .egg-info directory in install record ...
I've been maintaining with pip for quite some time now, so my guess is that all my packages have been previously updated using...
Read more >Install of python package shap fails with No .egg-info directory ...
Collecting shap Downloading shap-0.37.0.tar.gz (326 kB) ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-3zexv7tp.
Read more >Cannot install moments using 'pip install'. - Bitbucket
It's usually possible to install a python package from a git repository, ... InstallationError: More than one .egg-info directory found in ...
Read more >Python: Creating a pip installable package
This is a quickstart guide to Python Packaging with a particular focus on the ... Note: A <PACKAGE_NAME> .egg-info directory will also be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If no one has objections I’ll let the bot close this one, as there is nothing we can do for this in pip.
@callegar I believe the root cause here is that llfuse
setup.py egg_info
returns a success exit code even when it failed. If it would return anything else than 0, pip would display the error. I’d suggest reporting the problem with that project.