SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Aleksander Schwarzenberg-C. <al...@ca...> - 2005年08月30日 23:08:17
Dear matplotlib Pundits,
I am trying to install matplotlib-0.83.2 on my FedoraCore3 linux.
It seems I got installed all required packages (including pygtk2 and gtk2) 
and the corresponding devel packages. After running
python setup.py build
I got many messages, terminated with the following error message:
++/3.4.4/functional:54,
 from src/_transforms.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
src/_transforms.cpp:8:34: Numeric/arrayobject.h: No such file or directory
src/_transforms.cpp: In member function `Py::Object 
Bbox::update_numerix(const Py::Tuple&)':
src/_transforms.cpp:436: error: `PyArrayObject' undeclared (first use this 
function)
src/_transforms.cpp:436: error: (Each undeclared identifier is reported 
only once for each function it appears in.)
...
src/_transforms.cpp:1974: error: `import_array' undeclared (first use this 
function)
error: command 'gcc' failed with exit status 1
Do I miss some required package?
Alex Schwarzenberg-Czerny 
From: Robert K. <rk...@uc...> - 2005年08月30日 23:12:05
Aleksander Schwarzenberg-Czerny wrote:
> Dear matplotlib Pundits,
> I am trying to install matplotlib-0.83.2 on my FedoraCore3 linux.
> It seems I got installed all required packages (including pygtk2 and gtk2) 
> and the corresponding devel packages. After running
> python setup.py build
> I got many messages, terminated with the following error message:
> ++/3.4.4/functional:54,
> from src/_transforms.cpp:1:
> /usr/include/features.h:150:1: warning: this is the location of the 
> previous definition
> src/_transforms.cpp:8:34: Numeric/arrayobject.h: No such file or directory
> Do I miss some required package?
Numeric.
http://numeric.scipy.org
-- 
Robert Kern
rk...@uc...
"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
 -- Richard Harter
From: Fernando P. <Fer...@co...> - 2005年08月30日 23:15:12
Aleksander Schwarzenberg-Czerny wrote:
> src/_transforms.cpp:8:34: Numeric/arrayobject.h: No such file or directory
> Do I miss some required package?
First, check whether you actually have numeric installed:
planck[python]> python -c 'import Numeric;print Numeric.__version__'
23.7
If that works, it means that you have installed the Numeric headers in some 
non-standard location. On my system, they live in:
planck[python]> locate arrayobject.h
/usr/include/python2.3/Numeric/arrayobject.h
I believe by default, distutils adds automatically /path/to/include/python to 
the include file search path (via -I), but if you've installed Numeric in some 
non-standard location, that automatic search may fail. I don't see 
immediately a way to tell distutils to add specific extra paths, but there may 
be one. The cheap fix is to copy the Numeric/*.h directory over to the 
standard python location for headers in your system.
Cheers,
f
From: Aleksander Schwarzenberg-C. <al...@ca...> - 2005年08月31日 01:19:01
Hi!
Indeed, I misunderstood documentation and installed only one package
from two (Numeric and numarray). After installation of Numeric and 
devels for tcl and tk installation went smoothly.
Thank you
Alex Schwarzenberg-Czerny
On 
2005年8月30日, Fernando Perez wrote:
> Aleksander Schwarzenberg-Czerny wrote:
> 
> > src/_transforms.cpp:8:34: Numeric/arrayobject.h: No such file or directory
> 
> > Do I miss some required package?
> 
> First, check whether you actually have numeric installed:
> 
> planck[python]> python -c 'import Numeric;print Numeric.__version__'
> 23.7
> 
> If that works, it means that you have installed the Numeric headers in some 
> non-standard location. On my system, they live in:
> 
> planck[python]> locate arrayobject.h
> /usr/include/python2.3/Numeric/arrayobject.h
> 
> 
> I believe by default, distutils adds automatically /path/to/include/python to 
> the include file search path (via -I), but if you've installed Numeric in some 
> non-standard location, that automatic search may fail. I don't see 
> immediately a way to tell distutils to add specific extra paths, but there may 
> be one. The cheap fix is to copy the Numeric/*.h directory over to the 
> standard python location for headers in your system.
> 
> Cheers,
> 
> f
> 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /