[PYTHON] Solution to the problem that build does not end when installing OpenCV (PEP517)

Installation does not finish when installing OpenCV

Execution command


pip install opencv-python

output


Building wheels for collected packages: opencv-python
  Building wheel for opencv-python (PEP 517) ... -

Cause and solution

Older versions of openCV-Python don't require wheel compilation, so it stops here. After running pip install --upgrade pip, this is a problem caused by an older version of pip The solution is to install opencv again.

Recommended Posts

Solution to the problem that build does not end when installing OpenCV (PEP517)
[Python] Solution to the problem that elements are linked when copying a list
Solution when Linux does not recognize the built-in camera
[Jinja2] Solution to the problem that variables added in the for statement are not inherited
[systemd] How to deal with the problem that fancontrol does not work after suspending
[Pyhton] I want to solve the problem that tkinter does not work on MacOS11
A solution to the problem that files containing [and] are not listed in glob.glob ()
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
Check when the Docker container does not connect to the Internet
Problem that discord.py does not break
When incrementing the value of a key that does not exist
How to solve the problem that APL does not start after transferring to the actual device on Kivy-iOS
[GNOME] How to avoid the problem that conversion candidate characters do not disappear when converting to Japanese
Solution to the problem that the display is corrupted when the .exe command is included in the while loop in wsl2
How to deal with the problem that build fails when CI / CD of Python Function with AWS Amplify
The NVM Checksum Is Not Valid, a solution to the problem that Intel's wired LAN is not recognized on Linux
How to solve the problem that only the process remains when you press cross on the imshow screen of OpenCV
Example of what to do when the sample script does not work (OpenCV-Python)
A solution to the problem that the Python version in Conda cannot be changed
Solution to the problem that you can't activate by putting conda in pyenv
What to do when the graph does not appear in jupyter (ipython) notebook
After installing php7.2, the php command does not work
A solution to the problem that kernel restarting frequently occurs when running PyQt system with jupyter or Spyder IDE
Solved the problem that the image was not displayed in ROMol when loaded with PandasTools.LoadSDF.
Check when the version does not switch with pyenv
How to deal with the problem that pandas 1.1.0 or later build fails on Alpine Linux
About the matter that nosetests does not pass when __init__.py is created in the project directory
[VLC] How to deal with the problem that it is not in the foreground during playback
Finding a solution to the N-Queen problem with a genetic algorithm (2)
Ubuntu 20.04 does not start when trying to install nvidia driver
Finding a solution to the N-Queen problem with a genetic algorithm (1)
I implemented a method to calculate the evaluation index (specificity, NPV) that scikit-learn does not have
How to deal with the problem that the current directory moves when Python is executed from Atom
How to deal with the error "Failed to load module" canberra-gtk-module "that appears when you run OpenCV