Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install of 0.7.0 fails #21

Open
johanek opened this issue Nov 2, 2021 · 0 comments · May be fixed by #25
Open

pip install of 0.7.0 fails #21

johanek opened this issue Nov 2, 2021 · 0 comments · May be fixed by #25

Comments

@johanek
Copy link

johanek commented Nov 2, 2021

Fails with the following:

    ERROR: Command errored out with exit status 1:
     command: /hosts/zrows4/user_data/.tmp/git.jvd/netbox-importer/venv-zrows4/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/user_data/.tmp/pip-req-build-51ipxe3v/setup.py'"'"'; __file__='"'"'/user_data/.tmp/pip-req-build-51ipxe3v/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 /user_data/.tmp/pip-pip-egg-info-wls_crfz
         cwd: /user_data/.tmp/pip-req-build-51ipxe3v/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/user_data/.tmp/pip-req-build-51ipxe3v/setup.py", line 24, in <module>
        reqs = [str(ir.req) for ir in install_reqs]
      File "/user_data/.tmp/pip-req-build-51ipxe3v/setup.py", line 24, in <listcomp>
        reqs = [str(ir.req) for ir in install_reqs]
    AttributeError: 'str' 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.

It looks like internal pip functions are being used in setup.py, and these changed at some point - pypa/pip#8188 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant