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

Not installing under pipx #62

Open
vorpalhex opened this issue Mar 4, 2022 · 0 comments
Open

Not installing under pipx #62

vorpalhex opened this issue Mar 4, 2022 · 0 comments

Comments

@vorpalhex
Copy link

I realize this is more "feature request" than "bug report" since pipx isn't mentioned as a supported install method.

pipx handles making each pip install it's own venv to prevent dependency hell between conflicting apps. It's a utility around pip that just makes life easier. Project page is here: https://pypa.github.io/pipx/

Normally pipx should just work for any pip program, but I'm getting the following error:

pipx install humblebundle-downloader
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-yd3man9q/humblebundle-downloader_2c6b9a727e3f4ba08c3f97fb0eef3bab/setup.py", line 8, in <module>
          setup(
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/__init__.py", 
line 155, in setup
          return distutils.core.setup(**attrs)
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 109, in setup
          _setup_distribution = dist = klass(attrs)
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/dist.py", line 458, in __init__
          _Distribution.__init__(
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 293, in __init__
          self.finalize_options()
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/dist.py", line 850, in finalize_options
          for ep in sorted(loaded, key=by_order):
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/dist.py", line 849, in <lambda>
          loaded = map(lambda e: e.load(), filtered)
        File "/home/user/.local/pipx/shared/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/__init__.py", line 196, in load
          return functools.reduce(getattr, attrs, module)
      AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'        
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Error installing humblebundle-downloader.

This is on Ubuntu 20.04 LTS,, x86-64. Install DID work under pip proper.

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

No branches or pull requests

1 participant