blobtools icon indicating copy to clipboard operation
blobtools copied to clipboard

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

Open Jigyasa3 opened this issue 4 years ago • 0 comments

Hey All

I am trying to install the github version of blobtools and running into the following error. Please find the code to reproduce the error. module load python/3.7.3 module load samtools/1.9

git clone https://github.com/DRL/blobtools.git cd blobtools/

python3 setup.py install --user

error-

Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    reqs = [str(ir.req) for ir in install_reqs]
  File "setup.py", line 18, in <listcomp>
    reqs = [str(ir.req) for ir in install_reqs]
AttributeError: 'ParsedRequirement' object has no attribute 'req'


My workaround was to install the blobtools_v1.1.1 version using python/2.7.18. I get the same error as above with python/3.5.2 and python/3.7.3.

Jigyasa3 avatar Mar 19 '21 01:03 Jigyasa3