gautamkmr commented on issue #9949: Mac build from source script validation 
fails
URL: 
https://github.com/apache/incubator-mxnet/issues/9949#issuecomment-378508239
 
 
   I tried using the install-mxnet-osx-python.sh script, it did work well with 
python3.6 however with python-2.7.10 I guess I have not reached upto your step 
but failed due to some missing dependency. 
   
   I will give a shot with the osx_setup.md 
   
   with Python2.7.10 it failed during installation of Numpy.
   
   Searching for numpy>=1.8.2,<=1.13.3
   Reading https://pypi.python.org/simple/numpy/
   Best match: numpy 1.13.3
   Downloading 
https://pypi.python.org/packages/bf/2d/005e45738ab07a26e621c9c12dc97381f372e06678adf7dc3356a69b5960/numpy-1.13.3.zip#md5=300a6f0528122128ac07c6deb5c95917
   Processing numpy-1.13.3.zip
   Writing /tmp/easy_install-R1dTVi/numpy-1.13.3/setup.cfg
   Running numpy-1.13.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-R1dTVi/numpy-1.13.3/egg-dist-tmp-He2mV1
   /tmp/easy_install-R1dTVi/numpy-1.13.3/setup.py:367: UserWarning: 
Unrecognized setuptools command, proceeding with generating Cython sources and 
expanding templates
     run_build = parse_setuppy_commands()
   
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'python_requires'
     warnings.warn(msg)
   Warning: distutils distribution has been initialized, it may be too late to 
add a subpackage compatTraceback (most recent call last):
     File "setup.py", line 109, in <module>
       **kwargs)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
 line 151, in setup
       dist.run_commands()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 953, in run_commands
       self.run_command(cmd)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 972, in run_command
       cmd_obj.run()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py",
 line 73, in run
       self.do_egg_install()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py",
 line 101, in do_egg_install
       cmd.run()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 374, in run
       self.easy_install(spec, not self.no_deps)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 590, in easy_install
       return self.install_item(None, spec, tmpdir, deps, True)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 641, in install_item
       self.process_distribution(spec, dist, deps)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 687, in process_distribution
       [requirement], self.local_index, self.easy_install
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 568, in resolve
       dist = best[req.key] = env.best_match(req, self, installer)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 806, in best_match
       return self.obtain(req, installer) # try and download/install
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 818, in obtain
       return installer(requirement)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 609, in easy_install
       return self.install_item(spec, dist.location, tmpdir, deps)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 639, in install_item
       dists = self.install_eggs(spec, download, tmpdir)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 825, in install_eggs
       return self.build_and_install(setup_script, setup_base)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 1031, in build_and_install
       self.run_setup(setup_script, setup_base, args)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
 line 1016, in run_setup
       run_setup(setup_script, args)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
 line 69, in run_setup
       lambda: execfile(
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
 line 120, in run
       return func()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
 line 71, in <lambda>
       {'__file__':setup_script, '__name__':'__main__'}
     File "setup.py", line 392, in <module>
       
     File "setup.py", line 384, in setup_package
       
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/core.py",
 line 135, in setup
       config = configuration()
     File "setup.py", line 166, in configuration
       
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 966, in add_subpackage
       caller_level = 2)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 935, in get_subpackage
       caller_level = caller_level + 1)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 872, in _get_configuration_from_setup_py
       config = setup_module.configuration(*args)
     File "numpy/setup.py", line 10, in configuration
       #
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 966, in add_subpackage
       caller_level = 2)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 935, in get_subpackage
       caller_level = caller_level + 1)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py",
 line 847, in _get_configuration_from_setup_py
       ('.py', 'U', 1))
     File "/private/tmp/easy_install-R1dTVi/numpy-1.13.3/numpy/core/setup.py", 
line 13, in <module>
       # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   ImportError: No module named _build_utils.apple_accelerate
    
   ERROR: Return value non-zero for: sudo python setup.py install
    
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to