kepler-cpu opened a new issue #12472: Try to Setup MXnet on Raspberry Pi3 using 
MXNet installation guide using MAC but fail 
URL: https://github.com/apache/incubator-mxnet/issues/12472
 
 
   ## Description
   new to programming... trying to setup MXnet on Raspberry pi3 and following 
the instruction at 
   
https://mxnet.incubator.apache.org/install/index.html?platform=Devices&language=Python&processor=CPU
   
   trying to use MAC to build the build/mxnet-x.x.x-py2.py3-none-any.whl but 
run into the following problems ; ps: Docker installed on my MAC
   
   ## Environment info (Required)
   
   ----------Python Info----------
   ('Version      :', '2.7.10')
   ('Compiler     :', 'GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)')
   ('Build        :', ('default', 'Feb  7 2017 00:08:15'))
   ('Arch         :', ('64bit', ''))
   ------------Pip Info-----------
   No corresponding pip install for current python.
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   ('Platform     :', 'Darwin-16.7.0-x86_64-i386-64bit')
   ('system       :', 'Darwin')
   ('node         :', 'xxx-MacBook-Pro.local')
   ('release      :', '16.7.0')
   ('version      :', 'Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 
2018; root:xnu-3789.73.14~1/RELEASE_X86_64')
   ----------Hardware Info----------
   ('machine      :', 'x86_64')
   ('processor    :', 'i386')
   machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT RDTSCP TSCI
   machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 
BMI2 INVPCID FPU_CSDS
   machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE 
MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ 
DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE 
POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
   machdep.cpu.brand_string: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
   ----------Network Test----------
   Setting timeout: 10
   Error open MXNet: https://github.com/apache/incubator-mxnet, <urlopen error 
[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>, 
DNS finished in 0.044517993927 sec.
   Error open PYPI: https://pypi.python.org/pypi/pip, <urlopen error [SSL: 
TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>, DNS 
finished in 0.0384840965271 sec.
   Timing for FashionMNIST: 
https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz,
 DNS: 0.0383 sec, LOAD: 0.3346 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0496 sec, 
LOAD: 0.1033 sec.
   Error open Gluon Tutorial(en): http://gluon.mxnet.io, <urlopen error [SSL: 
SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)>, DNS 
finished in 0.0765810012817 sec.
   Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: 
SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)>, DNS 
finished in 0.0391330718994 sec.
   
   Package used (Python/R/Scala/Julia):
   Python
   
   ## Build info (Required if built from source)
   
   download the source code from the bottom of the page below:
   
   
https://mxnet.incubator.apache.org/install/index.html?platform=Devices&language=Python&processor=CPU
   
   
   ## Error Message:
   
   make[2]: /usr/bin/armv7-unknown-linux-gnueabi-gfortran: Command not found
   /usr/bin/armv7-unknown-linux-gnueabi-gfortran -O2 -marm -Wall -fPIC 
-mfpu=vfpv3 -march=armv7-a -c -o lsametst.o lsametst.f
   make[2]: /usr/bin/armv7-unknown-linux-gnueabi-gfortran: Command not found
   Makefile:32: recipe for target 'lsame.o' failed
   make[2]: *** [lsame.o] Error 127
   make[2]: *** Waiting for unfinished jobs....
   Makefile:32: recipe for target 'lsametst.o' failed
   make[2]: Leaving directory '/work/deps/OpenBLAS/lapack-netlib/INSTALL'
   make[2]: *** [lsametst.o] Error 127
   make[1]: *** [lapack_install] Error 2
   make: *** [netlib] Error 2
   Makefile:17: recipe for target 'lapack_install' failed
   make[1]: Leaving directory '/work/deps/OpenBLAS/lapack-netlib'
   Makefile:215: recipe for target 'netlib' failed
   The command '/bin/sh -c /work/arm_openblas.sh' returned a non-zero code: 2
   Traceback (most recent call last):
     File "ci/build.py", line 252, in <module>
       sys.exit(main())
     File "ci/build.py", line 186, in main
       build_docker(platform, docker_binary)
     File "ci/build.py", line 73, in build_docker
       check_call(cmd)
     File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 291, in check_call
       raise CalledProcessError(retcode, cmd)
   subprocess.CalledProcessError: Command '['docker', 'build', '-f', 
'docker/Dockerfile.build.armv7', '--build-arg', 'USER_ID=501', '-t', 
'mxnet/build.armv7', 'docker']' returned non-zero exit status 2.
   
   ## Minimum reproducible example
   
   follow the instruction at 
   
https://mxnet.incubator.apache.org/install/index.html?platform=Devices&language=Python&processor=CPU
   
   when executing ci/build.py -p armv7
   
   ## Steps to reproduce
   
   ci/build.py -p armv7 from MAC terminal after Docker is installed 
   
   ## What have you tried to solve it?
   
   search for Google but didn't find how exactly yet... some indicates missing 
fortune complier but don't know how to address that and the discussion 
indicates something more may need to be done.. maybe need to change Dockfile? 
   also, it seems some cross compilation issue... try to install dock cross but 
didn't work 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to