Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

" Cannot locate working compiler " in OSX while installing numpy with pip to python 3.3

Under OSX 10.8.5, I was trying to install the latest version python 3.3.2 with IDLE and wanted to import package. I followed the instruction and installed the pip under Library, but face problem while executing the command : pip install numpy

It ends up with showing,

File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/_osx_support.py", line 412, in customize_compiler

_find_appropriate_compiler(_config_vars)

File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/_osx_support.py", line 191, in _find_appropriate_compiler

"Cannot locate working compiler")

SystemError: Cannot locate working compiler

It seems for me to be a difficult case to install package to python3 on OSX, in order that I could run it on IDLE.

Any Suggestions?

like image 500
Paul Sheng-Hsuan Lin Avatar asked Nov 12 '22 20:11

Paul Sheng-Hsuan Lin


1 Answers

You need a C/C++ compiler in order to compile some modules of Numpy. You have to install latest version of XCode.

like image 139
jabaldonedo Avatar answered Nov 14 '22 21:11

jabaldonedo