-
Notifications
You must be signed in to change notification settings - Fork 46
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
Error with CMake #20
Comments
That is a bit odd. How did you install python? what do you get if you type |
I get Python 3.4.0. I just ran cmake .. -DCMake etc etc (without the path to datasets flag because I don't need it at all) and it found the python libraries without any problem, except for NumPy. Now it's throwing this:-- Found PythonInterp: /usr/bin/python3 (found version "3.4") Traceback (most recent call last):
ImportError: No module named 'numpy' Call Stack (most recent call first): lib/python/CMakeLists.txt:12 (find_package)I think it's because of the NumPy support for Python 3.x. I'll make sure it's installing the dependencies on the correct Python version. |
Fixed the NumPy issue with: |
make[2]: *** [lib/imgproc/CMakeFiles/imgproc.dir/filter.cpp.o] Error 1 ...I'm recieving this output when I run make -j9. That's like about 40% of the compilation process. Just for background information, I'm running this on a Jetson TK1 embedded-computer system. It's an ARM-based architecture. |
Hmm that's the SSE parts of the code, which doesn't work on ARM. You can comment it out and try to use the non-SIMD code. There should be a non-SIMD implementation of every piece of code. |
Honestly, I have no idea where that is or what that is. Any help will be appreciated. And excuse me for my low-level knowledge about this. |
Did you install python via Anaconda? |
@siddharthgee Originally, yes. I uninstalled all the dependencies of anaconda and python, and later installed python 3 through ubuntu command line. |
Hey, whenever I try to compile using cmake it throws an error. Below is the output. Any help is appreciated.
CMake Error at /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PythonInterp: Found unsuitable version "1.4", but required
is at least "3.3" (found /usr/bin/python3)
Call Stack (most recent call first):
/usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:372 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.2/Modules/FindPythonInterp.cmake:162 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
lib/python/CMakeLists.txt:10 (find_package)
...I'm running Python 3.4 and CMake 3.2.3.
The text was updated successfully, but these errors were encountered: