Stay tuned, I am almost done with a video on compiling and building on OS X. I think it will answer your questions. I will have it online today. --------- Matt Taylor OS Community Flag-Bearer Numenta
On Thu, Sep 24, 2015 at 10:29 AM, wanghouzhi-1986 <[email protected]> wrote: > Thanks Matthew Taylor , it is useful , > but when i run “python setup.py develop”, and i got the same question as > following > > whzdeMacBook-Pro:nupic.core-master whz$ python setup.py develop > Python Bindings directory: /Users/whz/working/nupic.core-master/bindings/py > NUMPY VERSION: 1.9.2 > Traceback (most recent call last): > File "setup.py", line 58, in <module> > > > > File "/Users/whz/working/nupic.core-master/bindings/py/setup.py", line > 534, in <module> > raise Exception("Must provide nupic core release directory. > --nupic-core-dir") > Exception: Must provide nupic core release directory. --nupic-core-dir > > > 在 2015年9月25日,上午1:18,Matthew Taylor <[email protected]> 写道: > > See: https://github.com/numenta/nupic/issues/2061#issuecomment-96731013 > > Try: > > export MACOSX_DEPLOYMENT_TARGET=10.10 > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Thu, Sep 24, 2015 at 9:57 AM, wanghouzhi-1986 > <[email protected]> wrote: > > yes , i have installed it . and > > whzdeMacBook-Pro:nupic.core-master whz$ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc48/4.8.4/libexec/gcc/x86_64-apple-darwin14.3.0/4.8.4/lto-wrapper > Target: x86_64-apple-darwin14.3.0 > Configured with: ../configure --build=x86_64-apple-darwin14.3.0 > --prefix=/usr/local/Cellar/gcc48/4.8.4 > --libdir=/usr/local/Cellar/gcc48/4.8.4/lib/gcc/4.8 > --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.8 > --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 > --with-mpc=/usr/local/opt/libmpc08 --with-cloog=/usr/local/opt/cloog018 > --with-isl=/usr/local/opt/isl011 --with-system-zlib > --enable-libstdcxx-time=yes --enable-stage1-checking > --enable-checking=release --enable-lto --disable-werror > --with-pkgversion='Homebrew gcc48 4.8.4' > --with-bugurl=https://github.com/Homebrew/homebrew-versions/issues > --with-build-config=bootstrap-debug --enable-plugin --disable-nls > --enable-multilib > Thread model: posix > gcc version 4.8.4 (Homebrew gcc48 4.8.4) > > > 在 2015年9月25日,上午12:21,Matthew Taylor <[email protected]> 写道: > > Have you installed Xcode or Xcode command line tools? > > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Thu, Sep 24, 2015 at 8:40 AM, wanghouzhi-1986 > <[email protected]> wrote: > > hi ,Austin Marshall > > I try it as your say , and when i run > “whzdeMacBook-Pro:nupic.core-master whz$ CC=clang CXX=clang++ > ARCHFLAGS="-arch x86_64" python setup.py install > --nupic-core-dir=$NUPIC_CORE/build/release” > i got the error : > > clang: error: invalid deployment target for -stdlib=libc++ (requires OS > X 10.7 or later) > error: command 'clang' failed with exit status 1 > > How can i resolve it? > thank you for your patience > > 在 2015年9月24日,下午10:13,Austin Marshall <[email protected]> 写道: > > That's an indication that there are no pre-built binary packages for your > system available on PyPi. You will need to build nupic.core, and > nupic.bindings from source. Instructions can be found in the README at > https://github.com/numenta/nupic.core#build-and-test-nupic-core > > On Wed, Sep 23, 2015 at 8:05 PM, wanghouzhi-1986 <[email protected]> > wrote: > > > hi, NuPIC > I install NuPIC on OS X Yosemite following as > https://www.youtube.com/watch?v=6OPTMDO17XI , but i got error : > > Using cached python-dateutil-2.1.tar.gz > Requirement already satisfied (use --upgrade to upgrade): pillow==2.3.0 in > /Library/Python/2.7/site-packages (from nupic) > Collecting nupic.bindings==0.2.1 (from nupic) > Could not find a version that satisfies the requirement > nupic.bindings==0.2.1 (from nupic) (from versions: ) > Some externally hosted files were ignored as access to them may be > unreliable (use --allow-external nupic.bindings to allow). > No matching distribution found for nupic.bindings==0.2.1 (from nupic) > > how can i resolve it ? > > > > > > > >
