tducret/trainline-python

I can't install trainline using pip3

Closed this issue · 0 comments

  • trainline version: latest
  • Python version: 3.8
  • Operating System: OSX

Description

I can't install trainline using pip3

What I Did

Collecting trainline
  Using cached trainline-0.1.1.tar.gz (279 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-install-654dg46b/trainline/setup.py'"'"'; __file__='"'"'/private/var/folders/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-install-654dg46b/trainline/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/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-pip-egg-info-dsamo052
         cwd: /private/var/folders/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-install-654dg46b/trainline/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-install-654dg46b/trainline/setup.py", line 22, in <module>
        requirements = [str(ir.req) for ir in install_reqs]
      File "/private/var/folders/lr/0m8k26c90rs3zfhdq2018rt40000gn/T/pip-install-654dg46b/trainline/setup.py", line 22, in <listcomp>
        requirements = [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.```