Open dbl001 opened 9 years ago
@dbl001 Unfortunately, we haven't had much success building on Anaconda. We don't officially support it. If you figure this out, please let us know.
Will it build if I run python in the virtual environment (and skip Anaconda)?
I hope so! :smile:
Can you point me to instructions for building / install nupic in the virtual env?
Look here, specifically use the https://github.com/numenta/nupic-linux64 or https://github.com/numenta/nupic-darwin64 repos, which use virtual env (see their READMEs).
cc @oxtopus
505 git clone https://github.com/numenta/nupic-darwin64.git 506 cd nupic-darwin64/ 507 ls 508 vi README.md 509 source nupic-darwin64/bin/activate 510 cd .. 511 source nupic-darwin64/bin/activate
David-Laxers-MacBook-Pro:nupic davidlaxer$ ARCHFLAGS="-arch x86_64" python setup.py install
Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/nupic-darwin64/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2. /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/nupic-darwin64/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/nupic-darwin64/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py creating build/lib.macosx-10.5-x86_64-2.7/tests- copying tests-/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests- copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings creating build/lib.macosx-10.5-x86_64-2.7/tests-/external copying tests-/external/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/external copying tests-/external/asteval_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/external copying tests-/external/testfixture_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/external creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration copying tests-/integration/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration creating build/lib.macosx-10.5-x86_64-2.7/tests-/swarming copying tests-/swarming/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/swarming creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit copying tests-/unit/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic copying tests-/integration/nupic/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic creating build/lib.macosx-10.5-x86_64-2.7/tests-/swarming/nupic copying tests-/swarming/nupic/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/swarming/nupic creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic copying tests-/unit/nupic/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic copying tests-/unit/nupic/utils_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/extensive_temporal_memory_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/temporal_memory_performance_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/tp_likelihood_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/tp_overlapping_sequences_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/tp_segment_learning.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/tp_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms copying tests-/integration/nupic/algorithms/tutorial_temporal_memory_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/data copying tests-/integration/nupic/data/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/data copying tests-/integration/nupic/data/aggregation_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/data creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/engine copying tests-/integration/nupic/engine/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/engine copying tests-/integration/nupic/engine/network_testnode_interchangeability.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/engine copying tests-/integration/nupic/engine/network_twonode_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/engine copying tests-/integration/nupic/engine/vector_file_sensor_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/engine creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/expgenerator_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/opf_checkpoint_stress_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/opf_experiment_results_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/opf_experiments_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/opf_region_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf copying tests-/integration/nupic/opf/prediction_metrics_manager_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/opf creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/regions copying tests-/integration/nupic/regions/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/regions copying tests-/integration/nupic/regions/image_knn_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/regions creating build/lib.macosx-10.5-x86_64-2.7/tests-/swarming/nupic/swarming copying tests-/swarming/nupic/swarming/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/swarming/nupic/swarming copying tests-/swarming/nupic/swarming/swarming_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/swarming/nupic/swarming creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/anomaly_likelihood_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/anomaly_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/cells4_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/cla_classifier_diff_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/cla_classifier_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/fast_cla_classifier_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/knn_classifier_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/nab_detector_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/sp_overlap_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/svm_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms copying tests-/unit/nupic/algorithms/tp10x2_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/algorithms creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/aggregator_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/dictutils_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/fieldmeta_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/file_record_stream_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/filters_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/functionsource_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/inference_shifter_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data copying tests-/unit/nupic/data/utils_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/adaptivescalar_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/category_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/coordinate_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/date_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/delta_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/geospatial_coordinate_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/logenc_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/multi_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/pass_through_encoder_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/random_distributed_scalar_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/scalar_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/scalarspace_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/sdrcategory_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders copying tests-/unit/nupic/encoders/sparse_pass_through_encoder_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/encoders creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/engine copying tests-/unit/nupic/engine/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/engine copying tests-/unit/nupic/engine/network_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/engine copying tests-/unit/nupic/engine/syntactic_sugar_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/engine copying tests-/unit/nupic/engine/unified_py_parameter_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/engine creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks copying tests-/unit/nupic/frameworks/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/array_algorithms_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/cast_mode_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/lgamma_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/nupic_random_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/sparse_binary_matrix_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math copying tests-/unit/nupic/math/sparse_matrix_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/math creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/anomaly_region_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/image_sensor_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/knn_anomaly_classifier_region_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/pyregion_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions copying tests-/unit/nupic/regions/regions_spec_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/regions creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/connections_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/inhibition_object_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/sp_learn_inference_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_boost_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_compatability_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_compute_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_cpp_api_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_py_api_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/spatial_pooler_unit_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/temporal_memory_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/tp10x2_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/tp_constant_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research copying tests-/unit/nupic/research/tp_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support copying tests-/unit/nupic/support/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support copying tests-/unit/nupic/support/configuration_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support copying tests-/unit/nupic/support/custom_configuration_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support copying tests-/unit/nupic/support/decorators_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support copying tests-/unit/nupic/support/object_json_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/support creating build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms/monitor_mixin copying tests-/integration/nupic/algorithms/monitor_mixin/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms/monitor_mixin copying tests-/integration/nupic/algorithms/monitor_mixin/temporal_memory_monitor_mixin_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/integration/nupic/algorithms/monitor_mixin creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data/generators copying tests-/unit/nupic/data/generators/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data/generators copying tests-/unit/nupic/data/generators/anomalyzer_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data/generators copying tests-/unit/nupic/data/generators/pattern_machine_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data/generators copying tests-/unit/nupic/data/generators/sequence_machine_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/data/generators creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/clamodel_classifier_helper_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/clamodel_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/opf_metrics_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/previous_value_model_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/safe_interpreter_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf copying tests-/unit/nupic/frameworks/opf/two_gram_model_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/frameworks/opf creating build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research/monitor_mixin copying tests-/unit/nupic/research/monitor_mixin/init.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research/monitor_mixin copying tests-/unit/nupic/research/monitor_mixin/metric_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research/monitor_mixin copying tests-/unit/nupic/research/monitor_mixin/trace_test.py -> build/lib.macosx-10.5-x86_64-2.7/tests-/unit/nupic/research/monitor_mixin copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/nupic-darwin64/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ gcc: error: unrecognized command line option '-stdlib=libc++' error: command 'gcc' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 6, 2015, at 10:33 AM, Matthew Taylor notifications@github.com wrote:
cc @oxtopus https://github.com/oxtopus — Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-118934049.
David-Laxers-MacBook-Pro:nupic davidlaxer$ gcc --version gcc (MacPorts gcc48 4.8.5_0) 4.8.5 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@dbl001 Have you tried CLang?
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2. /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 10, 2015, at 9:01 AM, David Ragazzi notifications@github.com wrote:
@dbl001 https://github.com/dbl001 Have you tried CLang?
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120444746.
David-Laxers-MacBook-Pro:nupic davidlaxer$ clang --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
On Jul 10, 2015, at 9:11 AM, David Laxer davidl@softintel.com wrote:
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2. /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 10, 2015, at 9:01 AM, David Ragazzi <notifications@github.com mailto:notifications@github.com> wrote:
@dbl001 https://github.com/dbl001 Have you tried CLang?
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120444746.
Is this relevant?
-o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o
http://stackoverflow.com/questions/24243176/how-to-specify-target-mac-os-x-version-using-qmake http://stackoverflow.com/questions/24243176/how-to-specify-target-mac-os-x-version-using-qmake
On Jul 10, 2015, at 9:42 AM, David Laxer davidl@softintel.com wrote:
David-Laxers-MacBook-Pro:nupic davidlaxer$ clang --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
On Jul 10, 2015, at 9:11 AM, David Laxer <davidl@softintel.com mailto:davidl@softintel.com> wrote:
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2. /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 10, 2015, at 9:01 AM, David Ragazzi <notifications@github.com mailto:notifications@github.com> wrote:
@dbl001 https://github.com/dbl001 Have you tried CLang?
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120444746.
I think I remember having a similar problem a long time ago when I had a pre-existing version of numpy on my system. I uninstalled numpy and reinstalled 1.9, I think...
Matt Taylor OS Community Flag-Bearer Numenta
On Fri, Jul 10, 2015 at 9:42 AM, dbl001 notifications@github.com wrote:
David-Laxers-MacBook-Pro:nupic davidlaxer$ clang --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
On Jul 10, 2015, at 9:11 AM, David Laxer davidl@softintel.com wrote:
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2.
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 10, 2015, at 9:01 AM, David Ragazzi <notifications@github.com mailto:notifications@github.com> wrote:
@dbl001 https://github.com/dbl001 Have you tried CLang?
— Reply to this email directly or view it on GitHub < https://github.com/numenta/nupic/issues/2299#issuecomment-120444746>.
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120455442.
I update numpy to 1.92 in the virtualenv. Same thing:’
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:~ davidlaxer$ cd nupic David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install --user Password: Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2. /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) /Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$ ipython Python 2.7.10 |Anaconda 2.3.0 (x86_64)| (default, May 28 2015, 17:04:42) Type "copyright", "credits" or "license" for more information.
IPython 3.2.0 -- An enhanced Interactive Python. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
In [1]: import numpy
In [2]: numpy.version.version Out[2]: '1.9.2'
In [3]:
On Jul 10, 2015, at 9:58 AM, Matthew Taylor notifications@github.com wrote:
I think I remember having a similar problem a long time ago when I had a pre-existing version of numpy on my system. I uninstalled numpy and reinstalled 1.9, I think...
Matt Taylor OS Community Flag-Bearer Numenta
On Fri, Jul 10, 2015 at 9:42 AM, dbl001 notifications@github.com wrote:
David-Laxers-MacBook-Pro:nupic davidlaxer$ clang --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
On Jul 10, 2015, at 9:11 AM, David Laxer davidl@softintel.com wrote:
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
David-Laxers-MacBook-Pro:nupic davidlaxer$ sudo CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python setup.py install Target nupic.core package already exists at /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz. Unpacking /Users/davidlaxer/nupic/extensions/core/nupic_core-de7052fa535cb55ba97d6dd37950d9aab998b35c-darwin64.tar.gz into /Users/davidlaxer/nupic/extensions/core/build/release... /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored) nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition. nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2.
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i /Users/davidlaxer/nupic/external/darwin64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2/python -I/Users/davidlaxer/nupic/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566: Warning 325: Nested struct not currently supported (lexicographic_order ignored)
/Users/davidlaxer/nupic/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored. running install running bdist_egg running egg_info writing requirements to nupic.egg-info/requires.txt writing nupic.egg-info/PKG-INFO writing top-level names to nupic.egg-info/top_level.txt writing dependency_links to nupic.egg-info/dependency_links.txt reading manifest file 'nupic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nupic.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py copying nupic/bindings/algorithms.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math.py -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/algorithms_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/engine_internal_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/math_wrap.cxx -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings copying nupic/bindings/proto/BitHistory.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ClaClassifier.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/ConnectionsProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/LinkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/Map.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/NetworkProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RandomProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/RegionProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SparseMatrixProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/SpatialPoolerProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TemporalMemoryV1.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/TestNodeProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto copying nupic/bindings/proto/VectorFileSensorProto.capnp -> build/lib.macosx-10.5-x86_64-2.7/nupic/bindings/proto running build_ext building 'nupic.libpy_region' extension clang -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -DNUPIC2 -DNTA_OS_DARWIN -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -I/Users/davidlaxer/nupic/external/darwin64/include -I/Users/davidlaxer/nupic/external/common/include -I/Users/davidlaxer/nupic/extensions -I/Users/davidlaxer/nupic -I/Users/davidlaxer/nupic/extensions/core/build/release/include -I/Users/davidlaxer/anaconda/include/python2.7 -I/Users/davidlaxer/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/davidlaxer/anaconda/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o build/temp.macosx-10.5-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2 -stdlib=libc++ clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) error: command 'clang' failed with exit status 1 David-Laxers-MacBook-Pro:nupic davidlaxer$
On Jul 10, 2015, at 9:01 AM, David Ragazzi <notifications@github.com mailto:notifications@github.com> wrote:
@dbl001 https://github.com/dbl001 Have you tried CLang?
— Reply to this email directly or view it on GitHub < https://github.com/numenta/nupic/issues/2299#issuecomment-120444746>.
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120455442.
— Reply to this email directly or view it on GitHub https://github.com/numenta/nupic/issues/2299#issuecomment-120459784.
I'm running on OS X 10.10.3, with Anaconda.
conda info -a Current conda install:
conda-build version : 1.11.0 python version : 2.7.10.final.0 requests version : 2.7.0 root environment : /Users/davidlaxer/anaconda (writable) default environment : /Users/davidlaxer/anaconda envs directories : /Users/davidlaxer/anaconda/envs package cache : /Users/davidlaxer/anaconda/pkgs channel URLs : https://repo.continuum.io/pkgs/free/osx-64/ https://repo.continuum.io/pkgs/free/noarch/ https://repo.continuum.io/pkgs/pro/osx-64/ https://repo.continuum.io/pkgs/pro/noarch/ config file : None is foreign system : False
conda environments:
root * /Users/davidlaxer/anaconda
sys.version: 2.7.10 |Anaconda 2.3.0 (x86_64)| (defaul... sys.prefix: /Users/davidlaxer/anaconda sys.executable: /Users/davidlaxer/anaconda/bin/python conda location: /Users/davidlaxer/anaconda/lib/python2.7/site-packages/conda conda-build: /Users/davidlaxer/anaconda/bin/conda-build conda-convert: /Users/davidlaxer/anaconda/bin/conda-convert conda-develop: /Users/davidlaxer/anaconda/bin/conda-develop conda-env: /Users/davidlaxer/anaconda/bin/conda-env conda-index: /Users/davidlaxer/anaconda/bin/conda-index conda-inspect: /Users/davidlaxer/anaconda/bin/conda-inspect conda-metapackage: /Users/davidlaxer/anaconda/bin/conda-metapackage conda-pipbuild: /Users/davidlaxer/anaconda/bin/conda-pipbuild conda-server: /Users/davidlaxer/anaconda/bin/conda-server conda-skeleton: /Users/davidlaxer/anaconda/bin/conda-skeleton user site dirs: ~/.local/lib/python2.7
$NUPIC/scripts/run_nupic_tests -i --coverage ============================= test session starts ============================== platform darwin -- Python 2.7.10 -- pytest-2.4.2 -- /Users/davidlaxer/anaconda/bin/python plugins: cov, xdist collecting 0 items / 1 errors ==================================== ERRORS ==================================== ERROR collecting tests/integration/nupic/algorithms/extensive_temporal_memory_test.py tests/integration/nupic/algorithms/extensive_temporal_memory_test.py:27: in
from nupic.test.abstract_temporal_memory_test import AbstractTemporalMemoryTest
../anaconda/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:154: in loadmodule
py.builtin.exec(co, mod.dict)
nupic/test/abstract_temporal_memory_test.py:27: in
from nupic.research.temporal_memory import TemporalMemory
nupic/research/temporal_memory.py:29: in
from nupic.bindings.math import Random
nupic/bindings/math.py:28: in
_math = swig_import_helper()
nupic/bindings/math.py:20: in swig_import_helper
import _math
E ImportError: No module named _math
The problem was discussed in this issue.
https://github.com/numenta/nupic/pull/1579