Thanks, Richard, I'm all set now. Just for the record, here's what worked for me, in case it's helpful to someone else:
pip uninstall nupic.bindings -y pip uninstall nupic -y in $NUPIC_CORE, after building with make: python setup.py develop --nupic-core-dir=$NUPIC_CORE/build/release --install-dir=/home/mputic/.local/lib/python2.7/site-packages then in $NUPIC: python setup.py develop --install-dir=/home/mputic/.local/lib/python2.7/site-packages Thanks for your help! On Thu, Sep 10, 2015 at 1:27 PM, Richard Crowder <[email protected]> wrote: > NuPIC bindings are now made after a successful NuPIC.Core make & sudo make > install, followed by running the NuPIC.Core setup.py script. > > Further info on how NuPIC setup.py finds the bindings can be found on this > Wiki page > https://github.com/numenta/nupic/wiki/NuPIC's-Dependency-on-nupic.core > > > On Thu, Sep 10, 2015 at 7:59 PM, Richard Crowder <[email protected]> wrote: > >> Sorry, your right. Just git pulled an update to my Nupic repo and it >> errors in the same way. I'm hunting down what's changes for the develop >> option of nupic/setup.py >> >> On Thu, Sep 10, 2015 at 7:26 PM, Mateja Putic <[email protected]> wrote: >> >>> I think you meant: >>> >>> cd $NUPIC_CORE >>> python setup.py develop >>> --nupic-core-dir="/home/nupic/nupic.core/build/release" >>> >>> ? Because this worked for me. >>> >>> Thanks, >>> >>> On Thu, Sep 10, 2015 at 10:51 AM, Mateja Putic <[email protected]> >>> wrote: >>> >>>> I'm afraid that doesn't work, it says error: option --nupic-core-dir >>>> not recognized >>>> >>>> >>>> On Thu, Sep 10, 2015 at 10:38 AM, Richard Crowder <[email protected]> >>>> wrote: >>>> >>>>> Hey, with NuPIC Core 'install'ed locally you can use this with NuPIC; >>>>> >>>>> cd $NUPIC >>>>> python setup.py develop >>>>> --nupic-core-dir="/home/nupic/nupic.core/build/release" >>>>> >>>>> Changing the dir to your core install directory. >>>>> >>>>> Regards, Richard. >>>>> >>>>> On Thu, Sep 10, 2015 at 5:55 PM, Mateja Putic <[email protected]> >>>>> wrote: >>>>> >>>>>> Are there any instructions on the nupic site about how to link nupic >>>>>> against a custom nupic.core? I couldn't find any and I would appreciate >>>>>> it >>>>>> if someone could link me or at least point me in the right direction. >>>>>> >>>>>> What I want to do is to add instrumentation to parts of nupic.core >>>>>> for performance profiling, recompile, and then run a high-level nupic >>>>>> benchmark (like hotgym or NAB) that calls that code, which will then >>>>>> output >>>>>> profiling data that I can post-process. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -- >>>>>> Mr. Mateja Putic >>>>>> Ph.D Candidate >>>>>> Department of Electrical and Computer Engineering >>>>>> University of Virginia >>>>>> (703) 303-2099 >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Mr. Mateja Putic >>>> Ph.D Candidate >>>> Department of Electrical and Computer Engineering >>>> University of Virginia >>>> (703) 303-2099 >>>> >>> >>> >>> >>> -- >>> Mr. Mateja Putic >>> Ph.D Candidate >>> Department of Electrical and Computer Engineering >>> University of Virginia >>> (703) 303-2099 >>> >> >> > -- Mr. Mateja Putic Ph.D Candidate Department of Electrical and Computer Engineering University of Virginia (703) 303-2099
