David,

There is a wiki:
https://github.com/numenta/nupic/wiki/NuPIC's-Dependency-on-nupic.core

But if you think it could be more useful with the info from above, please
edit it.

---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Jul 31, 2014 at 10:42 AM, cogmission1 . <[email protected]>
wrote:

> The above (re: optional update/building of nupic.core and the project
> content description) would might be good to have on the wiki - I found it
> really helpful David
>
> -David Ray
>
>
> On Thu, Jul 31, 2014 at 11:59 AM, David Ragazzi <[email protected]>
> wrote:
>
>> Hi Cavan,
>>
>> I answered the Dr. Blackburn (private) message about this, but now I see
>> your question on ML. Nice that you managed install NuPIC. By the way, if
>> you have limited internet conection and you aren't able to update
>> nupic.core at every build, you can bypass this process.
>>
>> I explanned this in the message:
>>
>> >>Yeah, you're right on your thoughts. NuPIC is basically a Python
>> project that use C++ extensions due to performance issues. On of the C++
>> extensions is nupic.core which is provided at a separated repository. When
>> you install for the first time, a copy of nupic.core is cloned from scratch
>> and then 'setup.py' will build it using CMake/Make. In next times, it will
>> simply check if there're changes in nupic.core repo and built it again.
>> >>
>> >>The question is: is possible bypass this problem?
>> >>Yes: you can download nupic.core separately into 'extensions/core'
>> folder and then disable/remove the lines in the CMake file that download
>> and fetch changes in nupic.core.
>> >>
>> >>This worked for me several times. Let me know if you any issues with
>> this. :-)
>>
>> David
>>
>>
>>  On 31 July 2014 13:20, Matthew Taylor <[email protected]> wrote:
>>
>>> Cavan,
>>>
>>> There is an open bug for this. I was wondering if it would come up
>>> again.
>>> https://github.com/numenta/nupic/issues/1140#issuecomment-50277312
>>>
>>> I'll try to replicate today.
>>>
>>> ---------
>>> Matt Taylor
>>> OS Community Flag-Bearer
>>> Numenta
>>>
>>>
>>> On Thu, Jul 31, 2014 at 9:08 AM, Cavan Day-Lewis <
>>> [email protected]> wrote:
>>>
>>>> Classification: NPL Management Ltd - Public
>>>>
>>>> Hi Matt,
>>>>
>>>> Thank you very much, this fixed the problem,  I now have NuPIC
>>>> installed!  I am trying your tutorial but have been unsuccessful when it
>>>> comes to swarming. I receive the following error:
>>>>
>>>> IOError: [Errno 2] No such file or directory:
>>>> '/usr/local/lib/pyhton2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/swarming/jsonschema/jobParamsSchema.json'
>>>>
>>>> p.s. (I ran the test swarm successfully: '$NUPIC/scripts/run_swarm.py
>>>> $NUPIC/examples/swarm/simple/search_def.json  --maxWorkers=4')
>>>>
>>>> Once again thanks for your help.
>>>>
>>>> Cavan
>>>>
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: nupic [mailto:[email protected]] On Behalf Of
>>>> Matthew Taylor
>>>> Sent: 30 July 2014 19:59
>>>> To: NuPIC general mailing list.
>>>> Subject: Re: [nupic-discuss] Error running swarms [NP]
>>>>
>>>> You might try editing this file:
>>>>
>>>> https://github.com/numenta/nupic/blob/master/.nupic_modules
>>>>
>>>> It should be right in your root of NuPIC. Update it to:
>>>>
>>>> # Default nupic.core dependencies (override in optional .nupic_config)
>>>> NUPIC_CORE_REMOTE = 'https://github.com/numenta/nupic.core.git'
>>>> NUPIC_CORE_COMMITISH = '48e4c912c9ee03b8a405c7130a52fb01ce6c6068'
>>>>
>>>> Try that and build again.
>>>> ---------
>>>> Matt Taylor
>>>> OS Community Flag-Bearer
>>>> Numenta
>>>>
>>>>
>>>> On Wed, Jul 30, 2014 at 9:02 AM, Cavan Day-Lewis <
>>>> [email protected]> wrote:
>>>> > Classification: NPL Management Ltd - Public
>>>> >
>>>> > Hi David and Matt,
>>>> >
>>>> >
>>>> >
>>>> > Thank you very much for your advice. After making sure my dependencies
>>>> > are up to date I’ve got to the stage:
>>>> >
>>>> >
>>>> >
>>>> > python setup.py install            --(I’ve tried running it normally
>>>> and as
>>>> > the root user, with the “sudo” command)
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > and the following error message occurred:
>>>> >
>>>> >
>>>> >
>>>> > fatal: unable to connect to github.com:
>>>> >
>>>> > github.com[0: 192.30.252.130]: errno=Connection refused
>>>> >
>>>> >
>>>> >
>>>> > Cloning into ‘/home/john/nupic2/nupic/extensions/core’...
>>>> >
>>>> > CMake Error at CMakeLists.txt:267 (message):
>>>> >
>>>> > Unable to clone git://github.com/numenta/nupic.core.git into
>>>> > /home/john/nupic2/nupic/extensions/core
>>>> >
>>>> > Call Stack (most recent call first):
>>>> >
>>>> >      CMakeLists.txt:751 (generate_submodule_library)
>>>> >
>>>> >
>>>> >
>>>> > Unable to generate build scripts!
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > I believe this issue stems from the fact that the network I’m on at
>>>> > work, has a firewall preventing me from using the git:// protocol, I
>>>> > will need to use the https:// protocol instead. Is it a good idea to
>>>> > edit the code to fix this, if so where would I find the code?
>>>> >
>>>> >
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Cavan
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > From: nupic [mailto:[email protected]] On Behalf Of
>>>> > Matthew Taylor
>>>> > Sent: 30 July 2014 16:29
>>>> > To: NuPIC general mailing list.
>>>> > Subject: Re: [nupic-discuss] Error running swarms [NI]
>>>> >
>>>> >
>>>> >
>>>> > Cavan,
>>>> >
>>>> >
>>>> >
>>>> > You won't need to reclone the project. Just set the $NUPIC environment
>>>> > variable to point to the path where you have it checked out and run:
>>>> >
>>>> >
>>>> >
>>>> > cd $NUPIC
>>>> >
>>>> > git clean -dfx
>>>> >
>>>> > git pull origin master
>>>> >
>>>> > python setup.py install
>>>> >
>>>> >
>>>> >
>>>> > If you want to try to run tests...
>>>> >
>>>> >
>>>> >
>>>> > ./run_tests.sh -u
>>>> >
>>>> >
>>>> >
>>>> > But yeah, like David said, you might need to ensure your dependencies
>>>> > are installed with the right versions.
>>>> >
>>>> >
>>>> > ---------
>>>> >
>>>> > Matt Taylor
>>>> >
>>>> > OS Community Flag-Bearer
>>>> >
>>>> > Numenta
>>>> >
>>>> >
>>>> >
>>>> > On Wed, Jul 30, 2014 at 4:40 AM, David Ray
>>>> > <[email protected]>
>>>> > wrote:
>>>> >
>>>> > Hi Cavan,
>>>> >
>>>> >
>>>> >
>>>> > I tried re-installing over an old installation also, and I just want
>>>> > to warn you of uninstalling numpy before you proceed. I am still
>>>> > working with Matt (haven't gotten back to it yet because it's my work
>>>> > computer and I am busy ...well... Working :-) ). But this may cause
>>>> > some problems that Matt and I haven't worked through.
>>>> >
>>>> >
>>>> >
>>>> > Just a "heads-up"
>>>> >
>>>> >
>>>> >
>>>> > David Ray
>>>> >
>>>> > Sent from my iPhone
>>>> >
>>>> >
>>>> > On Jul 30, 2014, at 4:30 AM, "Cavan Day-Lewis"
>>>> > <[email protected]>
>>>> > wrote:
>>>> >
>>>> > Classification: NPL Management Ltd - Internal
>>>> >
>>>> > I am relatively new to Nupic and have experienced a few issues
>>>> > regarding running swarms.
>>>> >
>>>> >
>>>> >
>>>> > I have tried to follow the steps on Matt Taylor’s One Hot Gym
>>>> > Prediction Tutorial video on YouTube, however, I have been
>>>> > unsuccessful in running a swarm over the “rec-center-hourly.csv” file.
>>>> > I received an error that said I had a non-ASCII character somewhere in
>>>> > the code even though all of the code matched the example on GitHub and
>>>> > there didn’t seem to be any odd characters. I have come to the
>>>> > conclusion that I am probably running an outdated version of NuPIC. I
>>>> > installed it about a year ago, so can I update this version of NuPIC
>>>> > by entering in the “git clone https://github.com/numenta/nupic.git”
>>>> > command or do I need to start again from scratch by removing the old
>>>> version and installing the current version?
>>>> >
>>>> >
>>>> >
>>>> > I would appreciate any advice on this matter.
>>>> >
>>>> >
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Cavan
>>>> >
>>>> >
>>>> >
>>>> > ________________________________
>>>> >
>>>> > If you have received this message in error, please notify us and
>>>> > remove it from your system.
>>>> > NPL Management Ltd cannot guarantee that the e-mail or any attachments
>>>> > are free from viruses.
>>>> >
>>>> > NPL Management Ltd is a company registered in England and Wales,
>>>> number:
>>>> > 2937881
>>>> > Registered office: Serco House | 16 Bartley Wood Business Park | Hook,
>>>> > Hampshire | UK | RG27 9UY
>>>> >
>>>> > ________________________________
>>>> >
>>>> > <npl-logo.jpg>
>>>> >
>>>> > STAY CONNECTED
>>>> > <twitter.jpg> <facebook.jpg> <youtube.jpg> <apple.jpg> <connect.jpg>
>>>> >
>>>> > _______________________________________________
>>>> > nupic mailing list
>>>> > [email protected]
>>>> > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > nupic mailing list
>>>> > [email protected]
>>>> > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > nupic mailing list
>>>> > [email protected]
>>>> > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>> >
>>>>
>>>> _______________________________________________
>>>> nupic mailing list
>>>> [email protected]
>>>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>>
>>>> --
>>>> If you have received this message in error, please notify us and remove
>>>> it from your system.
>>>> NPL Management Ltd cannot guarantee that the e-mail or any attachments
>>>> are free from viruses.
>>>>
>>>> NPL Management Ltd is a company registered in England and Wales,
>>>> number: 2937881
>>>> Registered office: Serco House | 16 Bartley Wood Business Park | Hook,
>>>> Hampshire | UK | RG27 9UY
>>>>
>>>> _______________________________________________
>>>> nupic mailing list
>>>> [email protected]
>>>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> nupic mailing list
>>> [email protected]
>>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>
>>>
>>
>>
>> --
>> David Ragazzi
>> MSc in Sofware Engineer (University of Liverpool)
>> OS Community Commiter at Numenta.org
>> --
>> "I think James Connolly, the Irish revolutionary, is right when he says that
>> the only prophets are those who make their future. So we're not
>> anticipating, we're working for it."
>>
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to