'install_requires' must be a string or list of strings

See original GitHub issue

This similar to Issue:123

error in project_name_here setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "'--index-'"

This error started happening when i updated my requirment.txt file to include a single dependency from my local PyPi

--index-url=http://123.123.0.123:8080/simple/ projectnamehere

This works fine for my pip installs when i do it directly. Should i be using a workaround and if should could you help me with what that might look like?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
phauercommented, Sep 19, 2016

@arcivanov : That works! Thank you so much. But it’s important to know that you have to set the --process-dependency-links flag when installing the tar.gz via pip. But what do I do after this deprecated flag has been removed?

0reactions
tumregelscommented, Jun 29, 2019

Added #egg=package-name at the end and it worked

git+https://github.com/path/to/package-name.git@v1.2.0#egg=package-name
Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation error: 'install_requires' must be a string or list of ...
I'm trying to install pendulum on openSUSE 42.3 (Python 3.4.6). I have following error: pip install --user pendulum Collecting pendulum ...
Read more >
'install_requires' must be a string or list of ... - Misago Forums
'install_requires' must be a string or list of strings containing valid project/version requirement specifiers in Misago setup.
Read more >
error in pipenv setup command: 'install_requires' must be a ...
error in pipenv setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers · 1.
Read more >
GeoNode/general - Gitter
'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at ...
Read more >
1033830 - python setup.py install fails - Bugzilla@Mozilla
Running `python setup.py install` gives the following error: error in socorro setup command: 'install_requires' must be a string or list of strings ......
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