paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] still can't calibrate my LISA's magnetometer after


From: Chris Gough
Subject: Re: [Paparazzi-devel] still can't calibrate my LISA's magnetometer after that scipy has been installed in my OSX lion
Date: Tue, 4 Sep 2012 13:29:27 +1000

Seems you don't have libfreetype installed (required by matplotlib,
required by scipy).

I use Mac myself, but Googling "pip install scipy matplotlib freetype"
shows a lot chatter about problems installing/building scipy on Mac,
with solutions such as these:

http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/
http://penandpants.com/2012/02/24/install-python/

Chris Gough


On Tue, Sep 4, 2012 at 1:07 AM, 心如烛光 <address@hidden> wrote:
> Hi,everybody.
>      I have installed scipy with commend"pip install scipy".And it seems to
> be installed successfully.
>      But I still encounter error with commend "./calibrate.py -i 1 -s MAG
> 12_08_26__21_16_26.data"
> at the calibration folder.
>      This is the respond:
> Traceback (most recent call last):
>   File "./calibrate.py", line 30, in <module>
>     import calibration_utils
>   File "/Users/mac/paparazzi/sw/tools/calibration/calibration_utils.py",
> line 26, in <module>
>     from pylab import *
>   File
> "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/pylab.py",
> line 1, in <module>
>     from matplotlib.pylab import *
>   File
> "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/pylab.py",
> line 222, in <module>
>     from matplotlib import mpl  # pulls in most modules
>   File
> "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/mpl.py",
> line 2, in <module>
>     from matplotlib import axis
>   File
> "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/axis.py",
> line 10, in <module>
>     import matplotlib.font_manager as font_manager
>   File
> "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/font_manager.py",
> line 53, in <module>
>     from matplotlib import ft2font
> ImportError:
> dlopen(/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/ft2font.so,
> 2): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
>   Referenced from:
> /Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-macosx-10.8-intel.egg/matplotlib/ft2font.so
>   Reason: image not found
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>



-- 
.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]