Skip to content

Setup.py fails for pip>=20.1 #40

Open
@scottandrews

Description

@scottandrews

Environment
Conda virtual environment
pip version: 20.1
Python version: 3.7.6
OS: Mac Catalina 10.15.4

Steps to Reproduce
Install anaconda 3.7.6
pip install chumpy

Output

  Using cached chumpy-0.69.tar.gz (50 kB)
    ERROR: Command errored out with exit status 1:
     command: /Users/sandrews/.virtualenvs/py37cv4/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-install-klqvusum/chumpy/setup.py'"'"'; __file__='"'"'/private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-install-klqvusum/chumpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-pip-egg-info-9uh6xoy2
         cwd: /private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-install-klqvusum/chumpy/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-install-klqvusum/chumpy/setup.py", line 15, in <module>
        install_requires = [str(ir.req) for ir in install_reqs]
      File "/private/var/folders/d7/jhs0m4vn3k9bk6dy201nrbcw0000gn/T/pip-install-klqvusum/chumpy/setup.py", line 15, in <listcomp>
        install_requires = [str(ir.req) for ir in install_reqs]
    AttributeError: 'ParsedRequirement' object has no attribute 'req'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions