Error message when trying to install scikit-learn on a Mac: Last login: Thu Mar 5 17:22:17 on ttys001 Berk-Sariozs-MacBook-Pro:~ berksarioz$ cd /Users/berksarioz/fullstack/vagrant/ud421-projects Berk-Sariozs-MacBook-Pro:ud421-projects berksarioz$ pip install scikit-learn Downloading/unpacking scikit-learn Running setup.py egg_info for package scikit-learn Partial import of sklearn during the build process. Installing collected packages: scikit-learn Running setup.py install for scikit-learn Partial import of sklearn during the build process. blas_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] unifing config_cc, config, build_clib, build_ext, build commands --compiler options unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options build_src building library "libsvm-skl" sources ... ... ... compiling C++ sources C compiler: c++ -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 compile options: '-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c' c++: /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:53: In file included from /usr/include/math.h:30: /usr/include/sys/cdefs.h:658:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: In file included from /usr/include/sys/_types.h:33: /usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: /usr/include/sys/_types.h:94:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_blkcnt_t; /* total blocks */ ^ /usr/include/sys/_types.h:95:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_blksize_t; /* preferred block size */ ^ /usr/include/sys/_types.h:96:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_dev_t; /* dev_t */ ^ /usr/include/sys/_types.h:99:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:100:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/ ^ /usr/include/sys/_types.h:101:9: error: unknown type name '__uint64_t' typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */ ^ /usr/include/sys/_types.h:107:9: error: unknown type name '__darwin_natural_t' typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */ ^ /usr/include/sys/_types.h:109:9: error: unknown type name '__uint16_t' typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */ ^ /usr/include/sys/_types.h:110:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */ ^ /usr/include/sys/_types.h:111:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:131:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_sigset_t; /* [???] signal set */ ^ /usr/include/sys/_types.h:132:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */ ^ /usr/include/sys/_types.h:133:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_uid_t; /* [???] user IDs */ ^ /usr/include/sys/_types.h:134:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/inclError message from trying to install scikit-learn on a Mac:ude/stdio.h:71: /usr/include/sys/_types/_va_list.h:31:9: error: unknown type name '__darwin_va_list'; did you mean '__builtin_va_list'? typedef __darwin_va_list va_list; ^ note: '__builtin_va_list' declared here In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:72: /usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'? typedef __darwin_size_t size_t; ^ /usr/include/sys/_types.h:103:26: note: '__darwin_ino_t' declared here typedef __darwin_ino64_t __darwin_ino_t; /* [???] Used for inodes */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:434: /usr/include/sys/_types/_ssize_t.h:30:9: error: unknown type name '__darwin_ssize_t' typedef __darwin_ssize_t ssize_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:53: In file included from /usr/include/math.h:30: /usr/include/sys/cdefs.h:658:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: In file included from /usr/include/sys/_types.h:33: /usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: /usr/include/sys/_types.h:94:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_blkcnt_t; /* total blocks */ ^ /usr/include/sys/_types.h:95:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_blksize_t; /* preferred block size */ ^ /usr/include/sys/_types.h:96:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_dev_t; /* dev_t */ ^Error message from trying to install scikit-learn on a Mac: /usr/include/sys/_types.h:99:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:100:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/ ^ /usr/include/sys/_types.h:101:9: error: unknown type name '__uint64_t' typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */ ^ /usr/include/sys/_types.h:107:9: error: unknown type name '__darwin_natural_t' typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */ ^ /usr/include/sys/_types.h:109:9: error: unknown type name '__uint16_t' typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */ ^ /usr/include/sys/_types.h:110:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */ ^ /usr/include/sys/_types.h:111:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:131:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_sigset_t; /* [???] signal set */ ^ /usr/include/sys/_types.h:132:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */ ^ /usr/include/sys/_types.h:133:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_uid_t; /* [???] user IDs */ ^ /usr/include/sys/_types.h:134:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:71: /usr/include/sys/_types/_va_list.h:31:9: error: unknown type name '__darwin_va_list'; did you mean '__builtin_va_list'? typedef __darwin_va_list va_list; ^ note: '__builtin_va_list' declared here In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:72: /usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'? typedef __darwin_size_t size_t; ^ /usr/include/sys/_types.h:103:26: note: '__darwin_ino_t' declared here typedef __darwin_ino64_t __darwin_ino_t; /* [???] Used for inodes */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:434: /usr/include/sys/_types/_ssize_t.h:30:9: error: unknown type name '__darwin_ssize_t' typedef __darwin_ssize_t ssize_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: Command "c++ -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp -o build/temp.macosx-10.3-fat-2.7/private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.o" failed with exit status 1 Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-LVfXJU-record/install-record.txt --single-version-externally-managed: Partial import of sklearn during the build process. blas_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building library "libsvm-skl" sources building extension "sklearn.__check_build._check_build" sources building extension "sklearn.svm.libsvm" sources building extension "sklearn.svm.liblinear" sources building extension "sklearn.svm.libsvm_sparse" sources building extension "sklearn.datasets._svmlight_format" sources building extension "sklearn.feature_extraction._hashing" sources building extension "sklearn.cluster._hierarchical" sources building extension "sklearn.cluster._k_means" sources building extension "sklearn.ensemble._gradient_boosting" sources building extension "sklearn.utils.sparsetools._min_spanning_tree" sources building extension "sklearn.utils.sparsetools._traversal" sources building extension "sklearn.utils.sparsetools._graph_tools" sources building extension "sklearn.utils.sparsefuncs_fast" sources building extension "sklearn.utils.arrayfuncs" sources building extension "sklearn.utils.murmurhash" sources building extension "sklearn.utils.lgamma" sources building extension "sklearn.utils.graph_shortest_path" sources building extension "sklearn.utils.fast_dict" sources building extension "sklearn.utils.seq_dataset" sources building extension "sklearn.utils.weight_vector" sources building extension "sklearn.utils._random" sources building extension "sklearn.utils._logistic_sigmoid" sources building extension "sklearn.neighbors.ball_tree" sources building extension "sklearn.neighbors.kd_tree" sources building extension "sklearn.neighbors.dist_metrics" sources building extension "sklearn.neighbors.typedefs" sources building extension "sklearn.manifold._utils" sources building extension "sklearn.metrics.pairwise_fast" sources building extension "sklearn.tree._tree" sources building extension "sklearn.tree._utils" sources building extension "sklearn.metrics/cluster.expected_mutual_info_fast" sources building extension "sklearn._hmmc" sources building extension "sklearn._isotonic" sources building extension "sklearn.linear_model.cd_fast" sources building extension "sklearn.linear_model.sgd_fast" sources building extension "sklearn.utils.sparsetools._min_spanning_tree" sources building extension "sklearn.utils.sparsetools._traversal" sources building extension "sklearn.utils.sparsetools._graph_tools" sources building extension "sklearn.utils.sparsefuncs_fast" sources building extension "sklearn.utils.arrayfuncs" sources building extension "sklearn.utils.murmurhash" sources building extension "sklearn.utils.lgamma" sources building extension "sklearn.utils.graph_shortest_path" sources building extension "sklearn.utils.fast_dict" sources building extension "sklearn.utils.seq_dataset" sources building extension "sklearn.utils.weight_vector" sources building extension "sklearn.utils._random" sources building extension "sklearn.utils._logistic_sigmoid" sources building data_files sources build_src: building npy-pkg config files running build_py running build_clib customize UnixCCompiler customize UnixCCompiler using build_clib building 'libsvm-skl' library compiling C++ sources C compiler: c++ -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 compile options: '-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c' c++: /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:53: In file included from /usr/include/math.h:30: /usr/include/sys/cdefs.h:658:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: In file included from /usr/include/sys/_types.h:33: /usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: /usr/include/sys/_types.h:94:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_blkcnt_t; /* total blocks */ ^ /usr/include/sys/_types.h:95:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_blksize_t; /* preferred block size */ ^ /usr/include/sys/_types.h:96:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_dev_t; /* dev_t */ ^ /usr/include/sys/_types.h:99:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:100:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/ ^ /usr/include/sys/_types.h:101:9: error: unknown type name '__uint64_t' typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */ ^ /usr/include/sys/_types.h:107:9: error: unknown type name '__darwin_natural_t' typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */ ^ /usr/include/sys/_types.h:109:9: error: unknown type name '__uint16_t' typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */ ^ /usr/include/sys/_types.h:110:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */ ^ /usr/include/sys/_types.h:111:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */ ^ /usr/include/sys/_types.h:131:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_sigset_t; /* [???] signal set */ ^ /usr/include/sys/_types.h:132:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */ ^ /usr/include/sys/_types.h:133:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_uid_t; /* [???] user IDs */ ^ /usr/include/sys/_types.h:134:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:71: /usr/include/sys/_types/_va_list.h:31:9: error: unknown type name '__darwin_va_list'; did you mean '__builtin_va_list'? typedef __darwin_va_list va_list; ^ note: '__builtin_va_list' declared here In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:72: /usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'? typedef __darwin_size_t size_t; ^ /usr/include/sys/_types.h:103:26: note: '__darwin_ino_t' declared here typedef __darwin_ino64_t __darwin_ino_t; /* [???] Used for inodes */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:434: /usr/include/sys/_types/_ssize_t.h:30:9: error: unknown type name '__darwin_ssize_t' typedef __darwin_ssize_t ssize_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:53: In file included from /usr/include/math.h:30: /usr/include/sys/cdefs.h:658:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: In file included from /usr/include/sys/_types.h:33: /usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:67: In file included from /usr/include/_types.h:27: /usr/include/sys/_types.h:94:9: error: unknown type name '__int64_t' typedef __int64_t __darwin_blkcnt_t; /* total blocks */ ^ /usr/include/sys/_types.h:95:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_blksize_t; /* preferred block size */ ^ /usr/include/sys/_types.h:96:9: error: unknown type name '__int32_t' typedef __int32_t __darwin_dev_t; /* dev_t */ /usr/include/sys/_types.h:134:9: error: unknown type name '__uint32_t' typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:71: /usr/include/sys/_types/_va_list.h:31:9: error: unknown type name '__darwin_va_list'; did you mean '__builtin_va_list'? typedef __darwin_va_list va_list; ^ note: '__builtin_va_list' declared here In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:72: /usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'? typedef __darwin_size_t size_t; ^ /usr/include/sys/_types.h:103:26: note: '__darwin_ino_t' declared here typedef __darwin_ino64_t __darwin_ino_t; /* [???] Used for inodes */ ^ In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp:6: In file included from /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/svm.cpp:54: In file included from /usr/include/stdio.h:434: /usr/include/sys/_types/_ssize_t.h:30:9: error: unknown type name '__darwin_ssize_t' typedef __darwin_ssize_t ssize_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: Command "c++ -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c /private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.cpp -o build/temp.macosx-10.3-fat-2.7/private/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/sklearn/svm/src/libsvm/libsvm_template.o" failed with exit status 1 ---------------------------------------- Command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-LVfXJU-record/install-record.txt --single-version-externally-managed failed with error code 1 in /var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/pip-build/scikit-learn Storing complete log in /var/folders/_s/56dd4stn4gl6w348gyc7nm7r0000gn/T/tmpuv5fej Berk-Sariozs-MacBook-Pro:ud421-projects berksarioz$