joelibaceta / video-to-ascii

It is a simple python package to play videos in the terminal using characters as pixels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install on MacOSx Ventura

xybytz opened this issue · comments

commented

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.

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.

commented

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