我試圖安裝pyopencv到VIRTUALENV與--no-站點包選項創建:內的virtualenv安裝pyopencv與--no-站點包
pip install pyopencv
但我在Ubuntu 10.04得到以下錯誤0.3:
CMake Error at CMakeLists.txt:186 (find_package):
Could not find a configuration file for package OpenCV.
Set OpenCV_DIR to the directory containing a CMake configuration file for
OpenCV. The file will have one of the following names:
OpenCVConfig.cmake
opencv-config.cmake
我已經安裝numpy的,SciPy的和OpenCV(libboost-dev的libboost-python1.40.0 libboost-python1.40-dev的cmake的libcv4 libcv-dev的libcvaux4 libcvaux-DEV)。有任何想法嗎?
PS我知道有預構建的Ubuntu軟件包python-opencv,但我不知道如何使用--no-site-packages將其安裝到virtualenv中(可能符號鏈接可以工作,但它很醜。 )。
你有沒有得到這個想通了? – xamox
xamox,不幸的是沒有。 –
好吧,如果我能遇到什麼,我會保持張貼。 – xamox