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

No matching distribution found for pkg-resources==0.0.0 (new_structure branch) #278

Closed
jean opened this issue Sep 7, 2017 · 4 comments
Closed

Comments

@jean
Copy link
Member

jean commented Sep 7, 2017

pkg-resources==0.0.0

Collecting MarkupSafe==1.0 (from -r requirements.txt (line 9))
  Downloading MarkupSafe-1.0.tar.gz
Collecting pkg-resources==0.0.0 (from -r requirements.txt (line 10))
  Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from -r requirements.txt (line 10)) (from versions: )
No matching distribution found for pkg-resources==0.0.0 (from -r requirements.txt (line 10))
@jean
Copy link
Member Author

jean commented Sep 7, 2017

According to pypa/pip#4022, this is a bug resulting from Ubuntu providing incorrect metadata to pip. So, no there does not seem to be a good reason for this behaviour. I filed a follow-up bug with Ubuntu. https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463

https://stackoverflow.com/a/40167445

pbauer added a commit that referenced this issue Sep 7, 2017
@pbauer
Copy link
Sponsor Member

pbauer commented Sep 7, 2017

removed it.

@pradityamsook
Copy link

pradityamsook commented Apr 7, 2019

removed it.

I was tried and it's work.

gcgoncalves pushed a commit to garciadias/transparencia that referenced this issue Jul 3, 2019
This requirement was added due to a bug in ubuntu, and should be
removed.

plone/training#278
@ZLTM
Copy link

ZLTM commented Jan 21, 2020

To give an actually useful answer, you need to remove the line 'pkg-resources==0.0.0' from requirements.txt, then push the changes to your repository before doing a Heroku push, only removing the line won't work

tejuafonja added a commit to tejuafonja/voicemap that referenced this issue Apr 10, 2020
copybaranaut pushed a commit to pixie-io/pixie that referenced this issue Jul 29, 2021
Summary: pip package required pkg-resources package which is a bug in the way Ubuntu provides metadata to pip [documented here](plone/training#278). Removed the unnecessary package and things seem to work.

Test Plan: Was able to install package in test repo. Need to push and test to actual public repo next.

Reviewers: vihang, jamesbartlett, #third_party_approvers

Reviewed By: vihang, #third_party_approvers

Differential Revision: https://phab.corp.pixielabs.ai/D9349

GitOrigin-RevId: bda55b3
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

4 participants