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 video-to-ascii not installing #79

Closed
unofficialdxnny opened this issue Apr 12, 2022 · 4 comments
Closed

pip install video-to-ascii not installing #79

unofficialdxnny opened this issue Apr 12, 2022 · 4 comments

Comments

@unofficialdxnny
Copy link

Describe the bug
The pip command throws error and does not install the module
the error is following

Collecting video-to-ascii
  Using cached video_to_ascii-1.3.0.tar.gz (6.9 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      Traceback (most recent call last):
        File "C:\Users\ahmed\AppData\Local\Temp\pip-install-9apno99s\video-to-ascii_e8b3c15ce1a440489be86a409ed5aee6\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 "C:\Users\ahmed\AppData\Local\Temp\pip-install-9apno99s\video-to-ascii_e8b3c15ce1a440489be86a409ed5aee6\setup.py", line 21, in <module>
          install_package('opencv-python')
        File "C:\Users\ahmed\AppData\Local\Temp\pip-install-9apno99s\video-to-ascii_e8b3c15ce1a440489be86a409ed5aee6\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.
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.

Desktop (Windows)

  • OS: Windows 10
  • Currently running on Windows-10-10.0.19044-SP0
@buzz-lightsnack-2007
Copy link

Kindly check out #78 as fixes have already been mentioned there.

@unofficialdxnny
Copy link
Author

Kindly check out #78 as fixes have already been mentioned there.

yes ty. For anyone else also on this thread the following will sort it for you
image

@fwolfst
Copy link

fwolfst commented Feb 7, 2023

Kindly check out #78 as fixes have already been mentioned there.

yes ty. For anyone else also on this thread the following will sort it for you image

Thanks. The whole command than e.g. looks like pip3 install -U video-to-ascii==1.2.8 (for anybody not familiar with pips options - like me - , copied from #78).

@unofficialdxnny
Copy link
Author

Kindly check out #78 as fixes have already been mentioned there.

yes ty. For anyone else also on this thread the following will sort it for you image

Thanks. The whole command than e.g. looks like pip3 install -U video-to-ascii==1.2.8 (for anybody not familiar with pips options - like me - , copied from #78).

This command works perfectly. I am now going to close this question. If anyone seems to get same problem and have tried these solutions feel free to reopen this issue :)

Correct response is pip3 install -U video-to-ascii==1.2.8

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

3 participants