question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No .egg-info directory found for certain packages

See original GitHub issue

Environment

  • 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

  1. Install XPLOR.
  2. Update pip and setuptools, install wheel: pyXplor -m pip install -U setuptools pip wheel
  3. 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:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sbidoulcommented, Dec 26, 2020

If no one has objections I’ll let the bot close this one, as there is nothing we can do for this in pip.

0reactions
sbidoulcommented, Dec 26, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found