anirudhacharya opened a new issue #9907: Error while building Mxnet from source on MacOS Sierra URL: https://github.com/apache/incubator-mxnet/issues/9907 ## Description I am unable to build mxnet from source in a new conda environment on my Mac based on this documentation - https://mxnet.incubator.apache.org/install/index.html1 While building the script errors out in the middle with the error message - Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated. The source repo for homebrew/science has been deprecated ( See here - https://github.com/Homebrew/homebrew-science/issues/6365). But the script in mxnet documentation still points to it. We need an alternate source to fetch all the libraries and other packages that we were previously fetching from homebrew/science. ## Environment info (Required) ----------Python Info---------- ('Version :', '2.7.14') ('Compiler :', 'GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)') ('Build :', ('default', 'Dec 25 2017 01:18:54')) ('Arch :', ('64bit', '')) ------------Pip Info----------- ('Version :', '9.0.1') ('Directory :', '/Users/aanirud/anaconda2/envs/onnx/lib/python2.7/site-packages/pip') ----------MXNet Info----------- ('Version :', '1.0.0') ('Directory :', '/Users/aanirud/anaconda2/envs/onnx/lib/python2.7/site-packages/mxnet') ('Commit Hash :', '25720d0e3c29232a37e2650f3ba3a2454f9367bb') ----------System Info---------- ('Platform :', 'Darwin-16.7.0-x86_64-i386-64bit') ('system :', 'Darwin') ('node :', '8c85904b0bf4.ant.amazon.com') ('release :', '16.7.0') ('version :', 'Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64') ----------Hardware Info---------- ('machine :', 'x86_64') ('processor :', 'i386') machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 HLE AVX2 BMI2 INVPCID RTM SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT 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 SMX 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) i7-7660U CPU @ 2.50GHz ----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0091 sec, LOAD: 0.4961 sec. Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0095 sec, LOAD: 0.2989 sec. Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0197 sec, LOAD: 0.1999 sec. Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0166 sec, LOAD: 0.0561 sec. Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0100 sec, LOAD: 0.0339 sec. Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0574 sec, LOAD: 0.1784 sec. Package used (Python/R/Scala/Julia): I am using Python 2.7.14 ## Build info (Required if built from source) Failing while trying to build from source. Compiler (gcc/clang/mingw/visual studio): Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin MXNet commit hash: b8ae967b3c7b34f0e4b7cb8ac651ae5b282c43e2 Build config: (Paste the content of config.mk, or the build command.) ## Error Message: Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated. ## Minimum reproducible example 1. $ curl -O https://raw.githubusercontent.com/dmlc/mxnet/master/setup-utils/install-mxnet-osx-python.sh 2. chmod 744 install-mxnet-osx-python.sh 3. bash install-mxnet-osx-python.sh ## Steps to reproduce 1. Run the above set of commands ## What have you tried to solve it? 1. As mentioned in the source repo for homebrew/science here - https://github.com/Homebrew/homebrew-science/issues/6365 the package has been deprecated, but the script in mxnet documentation still points to it. We need an alternate source to fetch all the libraries and other packages that we were previously fetching from homebrew/science. 2. I had also started a thread on the discussion forum here, but got no reply - https://discuss.mxnet.io/t/mxnet-source-build-on-macos-sierra/670
---------------------------------------------------------------- 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
