-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Can't install Mxnet on raspberry pi with opencv 4.0.0 #18471
Comments
Please use |
Closing as the instructions were updated |
Thank you for fast response and investigation.
|
There's probably some cache issues. You ran cmake with a different command line options before and didn't delete the |
I checked but there were no CMakeCache.txt other than the one in /build/ but I rm -rf build every time I use the command cmake |
Okay I finally found out what was wrong I use the command:
but even after that I still get :
what version of python did you use to build? |
The error is
Try |
Okay so I did what you said and I got to the point that I have to run |
You can use swap or help fix this bug or compile the stable mxnet version |
I tried increasing swap but it wouldn't use it. |
@woreom the wheel is not compliant with ASF licensing policy and it's pointing to an older release. You can still find the link by looking at the commit (search for "whl"). We'll need to fix the licensing issues (don't redistribute libgfortran.so in the whl) and reupload |
Hi @leezu , is it possible to release pre-built MXNet pacakge on ARM? It seems that the older release could not be re-uploaded because of ASF licensing policy, but is it possible to release pre-built MXNet 1.7 and 2.0+ package on ARM? |
Based on #18513 we can do portable and compliant binary releases later in principle. But this will require compiling the toolchain ourselves for ARM, as flang compiler binary is not available for ARM. But for the raspberry pi setup, the portability aspect may not be so important. We can decide to publish non-portable (target one or a few select OS version) binaries. (In that case we don't need to use the flang compiler) If you're interested in building them, I'm happy to discuss more about how to proceed. |
@leezu after the result of #18501, I used
and
|
@woreom
|
@wkcn I didn't understand where should I add |
@woreom |
@wkcn I did that now only file is not getting build. I get this error
|
@wkcn @woreom to avoid manually editing the when configuring the project with Also be sure to |
I ended up compiling everything with gcc-4.9 and g++-4.9 (python,OpenCV,mxnet). it also seems the version of your python is also important I used python-3.7.4 |
Description
So I'm following the tutorial on : https://mxnet.apache.org/get_started/?platform=devices&iot=raspberry-pi&
I'm trying to use opencv and mxnet together for my project. I tried the prebuild whl but it uses numpy 1.12.4 or something but the opencv needs 1.16.2 or higher.
Error Message
I tried to install with docker I get the error ModuleNotFoundError: No module named 'docker.errors' which is probably because i'm doing something wrong this is not my issue.
But my problem is with the native build, when I cmake I get the error " -- Configuring incomplete, errors occurred!"
and here is CMakeError
What have you tried to solve it?
Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
The text was updated successfully, but these errors were encountered: