pybind / pybind11

Seamless operability between C++11 and Python

Home Page:https://pybind11.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: tup.py", line 12, in <module> reqs = [str(ir.req) for ir in install_reqs] File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in <listcomp> reqs = [str(ir.req) for ir in install_reqs] AttributeError: 'ParsedRequirement' object has no attribute 'req' [end of output]

lucasjinreal opened this issue · comments

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

tup.py", line 12, in reqs = [str(ir.req) for ir in install_reqs] File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in reqs = [str(ir.req) for ir in install_reqs] AttributeError: 'ParsedRequirement' object has no attribute 'req' [end of output]

Problem description

tup.py", line 12, in
reqs = [str(ir.req) for ir in install_reqs]
File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in
reqs = [str(ir.req) for ir in install_reqs]
AttributeError: 'ParsedRequirement' object has no attribute 'req'
[end of output]

Reproducible example code

tup.py", line 12, in <module>
          reqs = [str(ir.req) for ir in install_reqs]
        File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in <listcomp>
          reqs = [str(ir.req) for ir in install_reqs]
      AttributeError: 'ParsedRequirement' object has no attribute 'req'
      [end of output]

Is this a regression? Put the last known working version here if it is.

Not a regression