You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/04/08 17:35:04 UTC

[GitHub] [incubator-mxnet] Raunak-Singh-Inventor commented on issue #20144: RuntimeError: Cannot find the MXNet library.

Raunak-Singh-Inventor commented on issue #20144:
URL: https://github.com/apache/incubator-mxnet/issues/20144#issuecomment-816009933


   Update:
   
   After a little more exploration, I found out that I forgot the compiling step, and that is why I can't find `libmxnet.so`. Now I have a new bug to report.
   
   ```
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR armv7l
   -- CMAKE_SYSTEM_PROCESSOR armv7l
   -- CMAKE_SYSTEM_NAME Linux
   -- CMake version '3.18.4' using generator 'Unix Makefiles'
   CMake Error at /home/pi/.local/lib/python3.7/site-packages/cmake/data/share/cmake-3.18/Modules/CMakeDetermineCUDACompiler.cmake:166 (message):
     Could not find nvcc, please set CUDAToolkit_ROOT.
   Call Stack (most recent call first):
     CMakeLists.txt:123 (enable_language)
   
   
   -- Configuring incomplete, errors occurred!
   See also "/home/pi/mxnet/build/CMakeFiles/CMakeOutput.log".
   See also "/home/pi/mxnet/build/CMakeFiles/CMakeError.log".
   ```
   
   Here are the steps to reproduce:
   
   1. `git clone --recursive https://github.com/apache/incubator-mxnet mxnet`
   2. `cd mxnet`
   3. `sudo apt-get update`
   4. `sudo apt-get install -y build-essential git ninja-build ccache libopenblas-dev libopencv-dev cmake`
   5. `sudo apt install gfortran`
   6. `mkdir build`
   7. `cd build/`
   8. `cmake ..`
   9. `python3 -m pip install --user -e ./python`
   
   @szha and @leezu Can you help me?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org