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

Help with below error installing opencv-python into .venv on VScode #15

Open
JacksJack101 opened this issue Oct 27, 2020 · 1 comment
Open

Comments

@JacksJack101
Copy link

llecting opencv-python
Using cached opencv-python-4.4.0.44.tar.gz (88.9 MB)
Requirement already satisfied: numpy>=1.17.3 in c:\users\jack\desktop\python\colour_code.venv\lib\site-packages (from opencv-python) (1.19.2)
Building wheels for collected packages: opencv-python
Building wheel for opencv-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\jack\desktop\python\colour_code.venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Jack\AppData\Local\Temp\pip-install-bspvj863\opencv-python\setup.py'"'"'; file='"'"'C:\Users\Jack\AppData\Local\Temp\pip-install-bspvj863\opencv-python\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Jack\AppData\Local\Temp\pip-wheel-zyukflwo'
cwd: C:\Users\Jack\AppData\Local\Temp\pip-install-bspvj863\opencv-python
Complete output (162 lines):


-- Trying "Ninja (Visual Studio 15 2017 Win64 v141)" generator






--
Not searching for unused variables given on the command line.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Jack/AppData/Local/Temp/pip-install-bspvj863/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Jack/AppData/Local/Temp/pip-install-bspvj863/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeError.log".







-- Trying "Ninja (Visual Studio 15 2017 Win64 v141)" generator - failure


-- Trying "Visual Studio 15 2017 Win64 v141" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

@makelove
Copy link
Owner

makelove commented Oct 30, 2020

sorry, can't help
I use macos and linux

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

2 participants