Instead of 'sudo', can you try installing with "python setup.py install --user"?
---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Mar 5, 2015 at 9:23 AM, David Wood <[email protected]> wrote:
> Hi NuPIC,
>
> Following my success getting NuPIC running on Linux, I thought (naively) that 
> I should get it set up on my Mac laptop so I could take advantage of offline 
> development and the ability to visualize the output graphs more easily. 
> Unfortunately, I have run into the same error with both the binary 
> installation and compiling from source.
>
> This is on a mid-2014 MacBook Pro running OS X 10.10.2. I am using the system 
> Python, version 2.7.6.
>
> Here are the steps I took and the error messages. Any ideas on what I should 
> try next? Thanks!
>
> Setup dependencies:
> [[
> # First run XCode and opt to "Install Optional Components"
> $ xcode-select --install # Also needed
> $ sudo easy_install pip
> $ sudo pip install wheel
> $ sudo pip install numpy
> ]]
>
> Steps to install the binary:
> [[
> $ sudo pip install nupic
> ...
> _imagingft.c:237:34: error: use of undeclared identifier 
> 'FT_GLYPH_BBOX_SUBPIXELS'
>
>         FT_Glyph_Get_CBox(glyph, FT_GLYPH_BBOX_SUBPIXELS, &bbox);
> ...
> error: command 'cc' failed with exit status 1
> ]]
>
>
> Steps to compile:
> [[
> $ export NUPIC=/Users/dwood/code/nupic
> $ mkdir $NUPIC; cd !$
> $ git clone https://github.com/numenta/nupic.git # or clone via GitHub Desktop
> $ ARCHFLAGS="-arch x86_64" python setup.py install --user
> ...
> /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56:
>  note: expanded from macro 'Py_SIZE'
> #define Py_SIZE(ob)             (((PyVarObject*)(ob))->ob_size)
>                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
> _imagingft.c:237:34: error: use of undeclared identifier 
> 'FT_GLYPH_BBOX_SUBPIXELS'
> ...
> error: command 'cc' failed with exit status 1
> ]]
>
>
> Regards,
> Dave
> --
> http://about.me/david_wood
>
>
>
>

Reply via email to