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.

pip 10 build failure

See original GitHub issue

This package (3.2.1 and master) fails to build with pip 10.0.0:

File "setup.py", line 12, in <module>
    if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]:
AttributeError: 'module' object has no attribute 'get_installed_distributions'

The function get_installed_distributions is now part of pip._internal.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
FRidhcommented, Apr 15, 2018

Probably pkg_resources.working_set is best used here.

0reactions
FRidhcommented, Apr 21, 2018

Though not mentioned in PR or commit, a fix was merged as part of https://github.com/docker/docker-py/pull/1990.

@shin- can we get a 3.2.2?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build fail due to pip v 10 issues on Heroku - Stack Overflow
I'm getting this error when attempting to build my Python / Flask app on Heroku (was deploying just fine a few days ago):....
Read more >
Windows Nightly build error: pip install of SimpleITK build failing
The plan is to integrate the pull request by 10pm ET so that the upcoming round of nightly is completed with the fix....
Read more >
Pip install scikit-image fails Windows11 Python3.11
I'm trying to install scikit-image on a new computer (Windows 11 21H2 x64) I have installed python from python.org I have installed ...
Read more >
Python build fails. No such file: Python.h - Render community
I've managed to get them running in docker both locally and in DO Ubuntu 22.0.4, by adding those to the dockerfile to run...
Read more >
Build and install error messages - TensorFlow
38896424 31058, "No matching distribution found for tensorflow": Pip can't find a TensorFlow package compatible with your system. Check the system requirements ...
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