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

Cannot install on MacOSx Ventura #94

Open
xybytz opened this issue Jun 15, 2023 · 2 comments
Open

Cannot install on MacOSx Ventura #94

xybytz opened this issue Jun 15, 2023 · 2 comments

Comments

@xybytz
Copy link

xybytz commented Jun 15, 2023

Describe the bug
Installation giving metadata generation error
To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal
  2. pip3 install video-to-ascii

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
https://imgur.com/a/ndQ33Rl
Desktop (please complete the following information):

  • OS: MacOs
  • Browser: safari
  • Version: Ventura

Additional context
This is the error:

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
Traceback (most recent call last):
File "/private/var/folders/86/yx40vcz53rg___l6zql2k7kr0000gq/T/pip-install-qkvdcde7/video-to-ascii_78c06d8d68e248f3a87895e1ab035cd3/setup.py", line 11, in install_package
main.main(['install', package])
AttributeError: 'function' object has no attribute 'main'

  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/var/folders/86/yx40vcz53rg___l6zql2k7kr0000gq/T/pip-install-qkvdcde7/video-to-ascii_78c06d8d68e248f3a87895e1ab035cd3/setup.py", line 21, in <module>
      install_package('opencv-python')
    File "/private/var/folders/86/yx40vcz53rg___l6zql2k7kr0000gq/T/pip-install-qkvdcde7/video-to-ascii_78c06d8d68e248f3a87895e1ab035cd3/setup.py", line 14, in install_package
      __main__._main(['install', package])
  AttributeError: module 'pip.__main__' has no attribute '_main'
  [end of output]

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

@pbx
Copy link

pbx commented Sep 23, 2023

Yup. Seeing that here too. Looks like it's trying to access some pip internals that have changed.

The code doesn't seem to have been substantially touched in about 5 years. Maybe if you made a venv based on five-years-ago Python, and installed five-years-ago pip, installing this app (into that venv) might work.

Of course, that might just peel back the covers to reveal other bitrot that isn't easily fixed.

@xybytz
Copy link
Author

xybytz commented Sep 23, 2023

Do you know how many times across Ubuntu, Mac and Windows I have encountered that issue on any module!? Way too many. Luckily, i believe this could be a fix: pypa/pip#5240

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

2 participants