It looks like the usual issue compiling NuPIC Python dependencies. In this
case pillow.
I don't have access to NuPIC here at work, but you may get further if you *pip
install pillow* first?
Or see how far *pip install --user -r
$NUPIC/external/common/requirements.txt* gets?

On Tue, Mar 24, 2015 at 2:23 PM, Marek Otahal <[email protected]> wrote:

> > "ImportError: No module named nupic.research.spatial_pooler"
>
> Tom, are you running a recent build of nupic? (This would look like a bug
> in NupicStudio, but I've just installed nustudio successfully, so it should
> work ok)
> Cheers, Mark
>
> On Tue, Mar 24, 2015 at 3:13 PM, thomas taylor <[email protected]>
> wrote:
>
>> thanks David, you are absolutely correct, there was no nupic. I have now
>> 'installed' nupic, but with a some error messages in that looonngg process;
>>  nustudio still gives the same message, "ImportError: No module named
>> nupic.research.spatial_pooler" so I suppose that either nustudio can't see
>> it or it's not there.  Has this become a nupic install problem or are we
>> still in nustudio territory?  The full output from the nupic install is
>> attached as rtf, in case is useful.   I notice that there was a short
>> thread on NuPIC installation problems in OS X 10.9
>> <http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2015-January/010151.html>
>> from January, does anyone know if these were ever resolved?
>>
>> best,
>> Tom Taylor
>>
>>
>> The error messages from the nupic installation are
>>
>>    1 error generated.
>>
>>     error: command 'clang' failed with exit status
>>
>>     ----------------------------------------
>>
>>     Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools,
>> tokenize;__file__='/private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-_nCPWU/pillow/setup.py';exec(compile(getattr(tokenize,
>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
>> install --record
>> /var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-Rg7D3f-record/install-record.txt
>> --single-version-externally-managed --compile" failed with error code 1 in
>> /private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-_nCPWU/pillow
>>
>> and back in the stack
>>
>>     1 error generated.
>>
>>     error: command 'clang' failed with exit status 1
>>
>>     Complete output from command /usr/local/opt/python/bin/python2.7 -c
>> "import setuptools,
>> tokenize;__file__='/private/var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-build-_nCPWU/pillow/setup.py';exec(compile(getattr(tokenize,
>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
>> install --record
>> /var/folders/5h/34rvjcbx6xg3dkzq6sq2jsvh0000gn/T/pip-Rg7D3f-record/install-record.txt
>> --single-version-externally-managed --compile:
>>
>>
>>
>> On Mon, Mar 23, 2015 at 7:39 PM, David Ragazzi <[email protected]>
>> wrote:
>>
>>> Hi Thomas,
>>>
>>> This error happens because NS is trying import NuPIC which probably is
>>> not installed on your machine. Just open your python interpreter and type:
>>>
>>> import nupic
>>>
>>> to check whether the same error happens. If so, you must install NuPIC
>>> following official instructions (github.com/numenta/nupic).
>>>
>>> Let me know your results..
>>>
>>> Cheers, David
>>>
>>> PS: Since yesterday, I'm working to fix instalation issues. Hopefully
>>> less people will get crazy... :-)
>>>
>>> Sent from my iPhone
>>>
>>> On 23/03/2015, at 20:17, thomas taylor <[email protected]> wrote:
>>>
>>> After haunting Stack Exchange and flailing like a crazy man using brew,
>>> my MacBook Pro (OS X 10.9.5) thinks that it has installed NuPIC Studio. And
>>> now it doesn't start, claiming *InputError: No module named
>>> nupic.research.spatial_pooler*.  Does anyone have an idea?
>>> ***************************************
>>>
>>> my-computer:~ myname$ nustudio
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "/usr/local/bin/nustudio", line 9, in <module>
>>>
>>>     load_entry_point('nustudio==1.0.4', 'gui_scripts', 'nustudio')()
>>>
>>>   File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources/__init__.py",
>>> line 519, in load_entry_point
>>>
>>>   File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources/__init__.py",
>>> line 2630, in load_entry_point
>>>
>>>   File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources/__init__.py",
>>> line 2310, in load
>>>
>>>   File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources/__init__.py",
>>> line 2316, in resolve
>>>
>>>   File "/usr/local/lib/python2.7/site-packages/nustudio/program.py",
>>> line 5, in <module>
>>>
>>>     from nustudio.project import Project
>>>
>>>   File "/usr/local/lib/python2.7/site-packages/nustudio/project.py",
>>> line 4, in <module>
>>>
>>>     from nustudio.htm.node_region import Region
>>>
>>>   File
>>> "/usr/local/lib/python2.7/site-packages/nustudio/htm/node_region.py", line
>>> 11, in <module>
>>>
>>>     from nupic.research.spatial_pooler import SpatialPooler
>>>
>>> ImportError: No module named nupic.research.spatial_pooler
>>>
>>>
>>
>
>
> --
> Marek Otahal :o)
>

Reply via email to