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.

Install fails on "invalid" install_requires definition

See original GitHub issue

Between 11.1.4 and 11.1.5 pip installs for pipenv stopped working in my centos 7 containers

# python --version
Python 2.7.5

# pip --version
pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)

# pip install pipenv==11.1.5
Collecting pipenv==11.1.5
  Downloading pipenv-11.1.5.tar.gz (4.1MB)
    100% |################################| 4.1MB 393kB/s
    Complete output from command python setup.py egg_info:
    error in pipenv setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

Version 11.1.4 installs successfully.

Repro:

$ docker run -ti --rm centos:7 bash
# yum -y install epel-release
# yum -y install python2-pip
# pip install pipenv==11.1.5

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

9reactions
jeff-minard-ckcommented, Mar 9, 2018

Just using the default installed on the os.

Yes, pip install --upgrade setuptools does fix this. Merely upgrading pip, however, does not.

4reactions
kennethreitzcommented, Mar 9, 2018

Closing, as this is in our awareness now, and we know the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

setup.py don't installing the requirements - Stack Overflow
The reason for this error is that the setup.py imports from the package. This means that python will try importing the library while ......
Read more >
Dependencies Management in Setuptools
When your project is installed (e.g., using pip), all of the dependencies not already installed will be located (via PyPI), downloaded, built (if...
Read more >
Troubleshooting - IBM
Issues building and installing PyPI packages. Not all packages can be built by using the default options provided in Python, and a given...
Read more >
Administrative privileges required or error code 0-1005 or 0 ...
If you're trying to install Office and you see an error message that says ... or you see error code 0-1005 or 0-2005,...
Read more >
2 Installation, Patching, and Configuration - Oracle Help Center
6.1, "Installer Produces Errors When Checking for Software Updates on My Oracle Support". Section 2.1.6.2, "Installer is Checking for the Wrong System Patches ......
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