Skip to content

AttributeError: 'ParsedRequirement' object has no attribute 'req' #7

@mayifangyuan

Description

@mayifangyuan

when I input "sudo python setup.py install", and the output is as following.
Traceback (most recent call last):
File "setup.py", line 30, in
install_requires=load_requirements("requirements.txt"),
File "setup.py", line 16, in load_requirements
return [str(ir.req) for ir in reqs]
AttributeError: 'ParsedRequirement' object has no attribute 'req'

my python version is 2.7.10, and numpy, patools, pandas and matplotlib have been installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions