It looks like you might have mixed both approaches,
try to download the nupic-darwin64 (make sure to use python-2.7 branch, not
the default master),
then just plain: source nupic-darwin64/bin/activate and
$NUPIC/bin/testeverything should do.

Cheers, mark


On Sun, Jan 19, 2014 at 7:03 PM, Mhd. Mowafak Allaham
<[email protected]>wrote:

> Hi Matt,
> Excuse my later response.
> Yes I have used the nupic-darwin64 installation method. Then I followed
> the instructions you told me about (available @:
> https://github.com/numenta/nupic/wiki/Running-NuPIC-on-OS-X) after I
> already downloaded nupic-darwin 64.
> Regarding Python, my machine has Python 2.7.5.
>
> Thank you for your help.
> (P.S If it works I'm planning to introduce it to my university so we can
> work on different applications using CLA algorithm. Maybe you can give a
> talk over there too. I can arrange it for you!)
>
> Mowafak
>
>
> On Wed, Jan 15, 2014 at 7:56 PM, Matthew Taylor <[email protected]> wrote:
>
>> Ok, let's start from the beginning. You might have told me this
>> already, but please refresh my memory.
>>
>> Did you use the nupic-darwin64[1] method of installing? What version
>> of python are you running? The darwin-64 externals repository only
>> contains bundled dependencies for python 2.6.
>>
>> [1] https://github.com/numenta/nupic-darwin64
>> ---------
>> Matt Taylor
>> OS Community Flag-Bearer
>> Numenta
>>
>>
>> On Wed, Jan 15, 2014 at 3:49 PM, Mhd. Mowafak Allaham
>> <[email protected]> wrote:
>> > Hi Matt,
>> > I tried it but it did not work.
>> > Any other suggestion ?
>> >
>> >
>> > On Tue, Jan 14, 2014 at 8:13 PM, Matthew Taylor <[email protected]>
>> wrote:
>> >>
>> >> Can you try adding "/usr/local/lib/python2.7/site-packages" to your
>> >> $PYTHON_PATH environment variable?
>> >>
>> >> export $PYTHON_PATH=/usr/local/lib/python2.7/site-packages:$PYTHON_PATH
>> >> ---------
>> >> Matt Taylor
>> >> OS Community Flag-Bearer
>> >> Numenta
>> >>
>> >>
>> >> On Tue, Jan 14, 2014 at 10:11 AM, Mhd. Mowafak Allaham
>> >> <[email protected]> wrote:
>> >> > Hi,
>> >> > I installed nupic and followed the instructions for Mac OSX
>> (Mavericks).
>> >> > Everything was working fine up until I reached the C++ and python
>> tests.
>> >> > The
>> >> > C++ test went fine, but not the Python test.
>> >> > (https://github.com/numenta/nupic/tree/master#try-it-out).
>> >> >
>> >> > The error I'm getting is:
>> >> >
>> >> > Traceback (most recent call last):
>> >> >
>> >> >   File "bin/run_tests.py", line 32, in <module>
>> >> >
>> >> >     import pytest
>> >> >
>> >> > ImportError: No module named pytest
>> >> >
>> >> >
>> >> > The pytest got installed into the following path:
>> >> > /usr/local/lib/python2.7/site-packages
>> >> >
>> >> > I checked my python path from terminal and I got the following:
>> >> >
>> >> > =================================================
>> >> >
>> >> > os.environ['PYTHONPATH'].split(os.pathsep)
>> >> >
>> >> > ['/nupic/nta/eng/lib/python2.7/site-packages', '']
>> >> >
>> >> >
>> >> >>>> import sys
>> >> >
>> >> >>>> print sys.path
>> >> >
>> >> > ['', '/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/py2app-0.7.3-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/modulegraph-0.10.4-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/xlutils-1.7.0-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/distribute-0.7.3-py2.7.egg',
>> >> > '/Library/Python/2.7/site-packages/setuptools-2.0-py2.7.egg',
>> >> > '/nupic/nta/eng/lib/python2.7/site-packages', '/private/var/root',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
>> >> >
>> >> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
>> >> > '/Library/Python/2.7/site-packages']
>> >> >
>> >> > =================================================
>> >> >
>> >> >
>> >> >
>> >> > After contacting Matthew Taylor he suggested that the python packages
>> >> > installed by pip are not available within my python environment.
>> >> >
>> >> > Could you please provide me with some instructions to solve this
>> issue.
>> >> >
>> >> > (P.S: $NUPIC/build.sh command ran successfully)
>> >> >
>> >> >
>> >> > Looking forward to hear from you,
>> >> >
>> >> > Mowafak
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > 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
>> >
>> >
>> >
>> >
>> > --
>> > Mohamad Mowafak R. Allaham
>> > Graduate Student
>> > Computer Science Department
>> > George Mason University
>> > email: [email protected]
>> >
>> > _______________________________________________
>> > 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
>>
>
>
>
> --
> Mohamad Mowafak R. Allaham
> Graduate Student
> Computer Science Department
> George Mason University
> email: [email protected]
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>


-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to