Error when trying to install on pip
See original GitHub issueIm getting this error after trying to install it on kali linux wsl2 or windows normally.
Defaulting to user installation because normal site-packages is not writeable
Collecting video-to-ascii
Downloading 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 "/tmp/pip-install-k19bynbv/video-to-ascii_168962df3c8d49358f05e874508b0ea7/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 "/tmp/pip-install-k19bynbv/video-to-ascii_168962df3c8d49358f05e874508b0ea7/setup.py", line 21, in <module>
install_package('opencv-python')
File "/tmp/pip-install-k19bynbv/video-to-ascii_168962df3c8d49358f05e874508b0ea7/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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
Error found when installing pip on Windows - Stack Overflow
1. This is pretty common for windows. · 1. Or try restarting your computer, sometimes path stuff can be weird and not update...
Read more >How to install modules with PIP (and fix it when it fails) - Medium
First make sure that you have installed Python. The main way to do this is to go to PyPi and search for your...
Read more >How to Fix 'Pip' is Not Recognized as an Internal or External ...
This error usually means there's a problem with the Python installation or the system variable PATH is not set up correctly. Try reinstalling ......
Read more >How to Install Pip on Windows - ActiveState
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot...
Read more >pip install error - python - Ask Ubuntu
You are installing pip with sudo but its using your user's home folder's python staging area. This can cause issues later on where...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Happens on
video-to-ascii
>= 1.2.9pip installing
"video-to-ascii == 1.2.8"
worked for mepip3 install -U video-to-ascii==1.2.8
works fine for me