Reading https://pypi.python.org/simple/nupic.bindings/
No local packages or download links found for nupic.bindings==0.4.5.dev0
error: Could not find suitable distribution for Requirement.parse(‘nupic.bindings==0.4.5.dev0’)
When I tried to use make -j3 to build a software, the system complained :
– The CXX compiler identification is unknown
– Check for working CXX compiler: /opt/local/bin/c++
– Check for working CXX compiler: /opt/local/bin/c++ – broken
CMake Error at /opt/local/share/cmake-3.3/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler “/opt/local/bin/c++” is not able to compile a simple test
program.
So I used
make -j3 CXX=‘PATH_TO_G++’
The complier is still the same.
Check for working CXX compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/c++
– Check for working CXX compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/c++ – broken
Is it because the makefile doesn’t use $CXX and $CC as compiler variables ?
Could you please copy the whole build output to a gist/to pastebin and copy the link in this thread? Maybe there’s another error we can’t see right now.
The c++ binary doesn’t know this option. I’m not sure if nupic fully supports gcc on osx.
Did you try to use clang instead of gcc (-DCMAKE_CXX_COMPILER=clang++)?
as suggests in the video, and I saw the the following error message Traceback (most recent call last): File "./scripts/run_nupic_tests.py", line 263, in <module> os.chdir(os.getenv('NUPIC')) TypeError: coercing to Unicode: need string or buffer, NoneType found
The required py.test is in the path variable
(nupic) Pohsuans-MacBook-Pro:nupic pohsuanhuang$ which py.test /Users/pohsuanhuang/miniconda/envs/nupic/bin/py.test (nupic) Pohsuans-MacBook-Pro:nupic pohsuanhuang$ echo $PATH /Users/pohsuanhuang/miniconda/envs/nupic/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/Users/pohsuanhuang/miniconda/bin:/Users/pohsuanhuang/miniconda/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/TeX/texbin
Can you help me ? Thanks!