Error when installing opencv in VM
Posted: Sun Feb 21, 2021 6:48 pm
Hello,
I'm trying to run the get geometry script but I got an error that it could not import cv2 as cv, so I assumed I had to install opencv with pip3 install opencv-python (a step I skipped because I kept getting an error when trying to install it). Now I'm back to trying to install opencv and I get the following error, could anyone please advise?
Collecting opencv-python
Using cached https://files.pythonhosted.org/packages ... .48.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-zpjmkq3x/opencv-python/setup.py", line 10, in <module>
import skbuild
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zpjmkq3x/opencv-python/
I'm trying to run the get geometry script but I got an error that it could not import cv2 as cv, so I assumed I had to install opencv with pip3 install opencv-python (a step I skipped because I kept getting an error when trying to install it). Now I'm back to trying to install opencv and I get the following error, could anyone please advise?
Collecting opencv-python
Using cached https://files.pythonhosted.org/packages ... .48.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-zpjmkq3x/opencv-python/setup.py", line 10, in <module>
import skbuild
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zpjmkq3x/opencv-python/