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

"pkg-resources=0.0.0" in "requirements.txt" #12

Closed
NausX opened this issue Jul 19, 2018 · 1 comment
Closed

"pkg-resources=0.0.0" in "requirements.txt" #12

NausX opened this issue Jul 19, 2018 · 1 comment

Comments

@NausX
Copy link

NausX commented Jul 19, 2018

That line was causing me issue. I tried reinstalling and deleting bunch of stuff and only once I decided to remove the line from the requirement.txt file, make mk_venv worked as expected.

I was still wondering as I couldn't find that package at all. Then I dug deeper to find that, apparently, the line is generated by pip freeze when in a virtualenv on some systems i.e. Ubuntu and Debian. It seems those systems separate the pkg_resources from setuptools and add it as a package. According to that, what I can guess is that there is no special case for pip freeze and thus the "package" of pkg-resources appears in the resulting output.

pypa/pip#4022
pypa/pip#4668

I don't know if it's the case of who generated the requirement.txt file as those bugs are 1y old. But still, as a workaround you can remove that line if you're not using Debian or Ubuntu.

@humenda
Copy link
Member

humenda commented Jul 20, 2018 via email

@humenda humenda closed this as completed Jul 20, 2018
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