

#Installing numpy python on mac install#
RuntimeError: Broken toolchain: cannot link a simple C programĬomplete output from command python setup.py egg_info:Ĭommand python setup.py egg_info failed with error code 1 in /private/tmp/pip-build-root/numpy Installing Matplotlib on your Mac or Windows Laptop First install Python 3.x: Even if you have an older version of Python, e.g., Python 3.2, on your laptop, you can still install a newer version, e.g., 3.5 or 3.

Raise RuntimeError("Broken toolchain: cannot link a simple C program") Sources = self.generate_sources(sources, (lib_name, build_info))įile "/private/tmp/pip-build-root/numpy/numpy/distutils/command/build_src.py", line 385, in generate_sourcesįile "numpy/core/setup.py", line 648, in get_mathlib_info

Self.build_library_sources(*libname_info)įile "/private/tmp/pip-build-root/numpy/numpy/distutils/command/build_src.py", line 298, in build_library_sources Non-existing path in 'numpy/distutils': 'site.cfg'Įxtra_link_args = Įxtra_compile_args = Ĭ compiler: xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.7.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypesĬompile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/local/Cellar/python/2.7.3/Frameworks/amework/Versions/2.7/include/python2.7 -c'Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation)įile "/private/tmp/pip-build-root/numpy/setup.py", line 214, in įile "/private/tmp/pip-build-root/numpy/setup.py", line 207, in setup_packageįile "/private/tmp/pip-build-root/numpy/numpy/distutils/core.py", line 186, in setupįile "/usr/local/Cellar/python/2.7.3/Frameworks/amework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setupįile "/usr/local/Cellar/python/2.7.3/Frameworks/amework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commandsįile "/usr/local/Cellar/python/2.7.3/Frameworks/amework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_commandįile "/private/tmp/pip-build-root/numpy/numpy/distutils/command/egg_info.py", line 8, in runįile "/usr/local/Cellar/python/2.7.3/Frameworks/amework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_commandįile "/private/tmp/pip-build-root/numpy/numpy/distutils/command/build_src.py", line 152, in runįile "/private/tmp/pip-build-root/numpy/numpy/distutils/command/build_src.py", line 163, in build_sources Running setup.py egg_info for package numpy
