Re: [Matplotlib-users] installation problem

2014-07-04 Thread jw
Thanks for pointing it to a packaging issue, as matplotlib works very well
after installing the missing packages.
I don't know really the the issue, but I hope it gets sorted out. The
earlier binaries had everything it needed on windows, so very convenient to
users. I think problems like this could really discourage new users to try,
particularly the inexperienced.

In my case, the matplotlib install was a clean install on a new machine,
though I had used it often on other computers. It was installed after Python
2.7.8, numpy, scipy, and Vpython, so the problem had to be packaging rather
than transitional, it'd would seem.


One possibility is that with v1.3, we changed how packaging was done.
Unfortunately, this did cause some transitional issues. The best bet is to
uninstall *all* versions of matplotlib, pylab, and mpl_toolkits first, then
re-install v1.3.1. Note that waiting for the v1.4 release wouldn't
necessarily solve anything as it is the transition *from* older versions of
matplotlib that is the issue rather than transitioning *to* newer versions.

Hopefully this helps,
Ben Root





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43620.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-04 Thread Benjamin Root
I presume you mean pypi said that the latest version was 1.0.1? PyPi
recently (and rightly so) stopped automatically pull eggs from third-party
locations (this is a *huge* security risk). Version 1.0.1 was the last
version that was directly hosted on PyPi because the test suite made the
package so much bigger after that version.

There was talk about granting "top-tier" projects like matplotlib and
basemap special permission to upload larger eggs to PyPi. I don't know if
that has happened yet.

Cheers!
Ben Root


On Fri, Jul 4, 2014 at 2:48 PM, Rachana Katkam 
wrote:

> I faced the problem of upgrading my matplotlib to 1.3.1 having my
> python2.7. Its on Fedora am talking about. Its the dmg file available here
> http://matplotlib.org/downloads.html
> When I checked for upgrading from Terminal, it said matplotlib1.0.1 is the
> latest version.
>
>
> On Fri, Jul 4, 2014 at 10:52 PM, Goyo  wrote:
>
>> 2014-07-04 8:30 GMT+02:00 Rachana Katkam :
>> > Hey, even I had similar issue.
>> > Later I learnt python2.7 could support matplotlib version1.0.1 only.
>> >
>> > So if you want to upgrade your matplotlib, you first need to upgrade
>> your
>> > python.
>>
>> matplotlib 1.3.1 works quite well with python 2.7.
>>
>> Goyo
>>
>
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-04 Thread Rachana Katkam
I faced the problem of upgrading my matplotlib to 1.3.1 having my
python2.7. Its on Fedora am talking about. Its the dmg file available here
http://matplotlib.org/downloads.html
When I checked for upgrading from Terminal, it said matplotlib1.0.1 is the
latest version.


On Fri, Jul 4, 2014 at 10:52 PM, Goyo  wrote:

> 2014-07-04 8:30 GMT+02:00 Rachana Katkam :
> > Hey, even I had similar issue.
> > Later I learnt python2.7 could support matplotlib version1.0.1 only.
> >
> > So if you want to upgrade your matplotlib, you first need to upgrade your
> > python.
>
> matplotlib 1.3.1 works quite well with python 2.7.
>
> Goyo
>
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-04 Thread Benjamin Root
One possibility is that with v1.3, we changed how packaging was done.
Unfortunately, this did cause some transitional issues. The best bet is to
uninstall *all* versions of matplotlib, pylab, and mpl_toolkits first, then
re-install v1.3.1. Note that waiting for the v1.4 release wouldn't
necessarily solve anything as it is the transition *from* older versions of
matplotlib that is the issue rather than transitioning *to* newer versions.

Hopefully this helps,
Ben Root



On Wed, Jul 2, 2014 at 9:35 PM, jw  wrote:

> I installed using version 1.3.1 windows binary
> "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
> went fine, but when using the package, it says "dateutil" and "pyparsing"
> are missing, which are supposed to be bundled according to the installation
> instruction. Is this a bug or expected behavior from now on? I did not have
> this issue for earlier versions of matplotlib.
> My base python is 2.7.8.
>
> If anyone is having the issue, either download the binaries from pythonlibs
> mentioned above, or
> install from the sources, which I did as follows:
> (1) Install setuptools if you don't have it.
> Download source from https://pypi.python.org/pypi/setuptools;
> Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
> This will install setuptools.
>
> (2) Install any other package by downloading the source, unpacking, and
> running 'setup.py install'
> e.g., "dateutil" has been installed this way.
> https://pypi.python.org/pypi/python-dateutil, same for pyparsing
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-04 Thread Goyo
2014-07-04 8:30 GMT+02:00 Rachana Katkam :
> Hey, even I had similar issue.
> Later I learnt python2.7 could support matplotlib version1.0.1 only.
>
> So if you want to upgrade your matplotlib, you first need to upgrade your
> python.

matplotlib 1.3.1 works quite well with python 2.7.

Goyo

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-03 Thread Rachana Katkam
Hey, even I had similar issue.
Later I learnt python2.7 could support matplotlib version1.0.1 only.

So if you want to upgrade your matplotlib, you first need to upgrade your
python.


On Thu, Jul 3, 2014 at 7:05 AM, jw  wrote:

> I installed using version 1.3.1 windows binary
> "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
> went fine, but when using the package, it says "dateutil" and "pyparsing"
> are missing, which are supposed to be bundled according to the installation
> instruction. Is this a bug or expected behavior from now on? I did not have
> this issue for earlier versions of matplotlib.
> My base python is 2.7.8.
>
> If anyone is having the issue, either download the binaries from pythonlibs
> mentioned above, or
> install from the sources, which I did as follows:
> (1) Install setuptools if you don't have it.
> Download source from https://pypi.python.org/pypi/setuptools;
> Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
> This will install setuptools.
>
> (2) Install any other package by downloading the source, unpacking, and
> running 'setup.py install'
> e.g., "dateutil" has been installed this way.
> https://pypi.python.org/pypi/python-dateutil, same for pyparsing
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-07-02 Thread jw
I installed using version 1.3.1 windows binary
"matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
went fine, but when using the package, it says "dateutil" and "pyparsing"
are missing, which are supposed to be bundled according to the installation
instruction. Is this a bug or expected behavior from now on? I did not have
this issue for earlier versions of matplotlib.
My base python is 2.7.8.

If anyone is having the issue, either download the binaries from pythonlibs
mentioned above, or
install from the sources, which I did as follows:
(1) Install setuptools if you don't have it. 
Download source from https://pypi.python.org/pypi/setuptools;
Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
This will install setuptools.

(2) Install any other package by downloading the source, unpacking, and 
running 'setup.py install'
e.g., "dateutil" has been installed this way.
https://pypi.python.org/pypi/python-dateutil, same for pyparsing



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2014-04-29 Thread Paul Hobson
As the error says, you need the dateutil package. It available here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-dateutil


On Mon, Apr 28, 2014 at 11:10 PM, Stam Golesh  wrote:

> hi all
>
> downloaded and installed
> matplotlib-1.3.1.win32-py3.2.exe
>
> this is what i get
> >>> import matplotlib
> Traceback (most recent call last):
>   File "", line 1, in 
> import matplotlib
>   File "E:\programs\python
> 3.2.3\lib\site-packages\matplotlib\__init__.py", line 112, in 
> raise ImportError("matplotlib requires dateutil")
> ImportError: matplotlib requires dateutil
>
> now what?
>
>
> --
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] installation problem

2014-04-28 Thread Stam Golesh
hi all

downloaded and installed
matplotlib-1.3.1.win32-py3.2.exe

this is what i get
>>> import matplotlib
Traceback (most recent call last):
  File "", line 1, in 
import matplotlib
  File "E:\programs\python 3.2.3\lib\site-packages\matplotlib\__init__.py",
line 112, in 
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil

now what?
--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem on Mac

2011-06-16 Thread Russell E. Owen
In article ,
 Rebecca Gray  wrote:

> I am trying to install matplotlib on my Mac OS X 10.6.6. I currently have
> Python 2.7.2 installed. I tried installing
> ***matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg.
> The installation appears to run fine, but when I try to import pylab * I am
> getting the following error message:
> 
> >>> from numpy import *
> >>> import pylab
>...
> ImportError:
> dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
> ckages/matplotlib/_path.so,
> 2): no suitable image found.  Did find:
> 
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
> matplotlib/_path.so:
> no matching architecture in universal wrapper
> 
> I am new to Python and any help would be greatly appreciated.
> 
> Thanks,
> 
> Rebecca

Which Python 2.7.2 are you using? The matplotlib installer is only 
compatible with the 32-bit version from python.org and I suspect you are 
using the 64-bit version or some other distribution entirely.

If you are definitely using the 32-bit python.org version then could you 
please execute the "file" command on _path.so?

When I do that for mine I get:
d-172-28-191-121:matplotlib rowen$ file _path.so
_path.so: Mach-O universal binary with 2 architectures
_path.so (for architecture ppc): Mach-O bundle ppc
_path.so (for architecture i386):   Mach-O bundle i386

-- Russell


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] installation problem on Mac

2011-06-15 Thread Rebecca Gray
Hi all,

I am trying to install matplotlib on my Mac OS X 10.6.6. I currently have
Python 2.7.2 installed. I tried installing
***matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg.
The installation appears to run fine, but when I try to import pylab * I am
getting the following error message:

>>> from numpy import *
>>> import pylab

Traceback (most recent call last):
  File "", line 1, in 
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylab.py",
line 1, in 
from matplotlib.pylab import *
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pylab.py",
line 220, in 
from matplotlib import mpl  # pulls in most modules
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl.py",
line 1, in 
from matplotlib import artist
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py",
line 6, in 
from transforms import Bbox, IdentityTransform, TransformedBbox,
TransformedPath
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/transforms.py",
line 34, in 
from matplotlib._path import affine_transform
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so,
2): no suitable image found.  Did find:

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so:
no matching architecture in universal wrapper

I am new to Python and any help would be greatly appreciated.

Thanks,

Rebecca
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Installation problem

2010-07-19 Thread Stavros Macrakis
I loaded matplotlib following the instructions in
http://matplotlib.sourceforge.net/users/shell.html, including setting up the
matplotlibrc file.  But the xlabel command hangs.

In detail:

bash-3.2$ python -i
Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
>>> from pylab import *
>>> plot([1,2,1])
--displays
plot
[]
>>> xlabel('hi mom')
--hangs
forever---

I am running Python 2.6.1 in an Emacs shell buffer; the Python is running on
Cygwin on Windows XP.  I am not using ipython.

What am I doing wrong?

Thanks,

-s
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 3:56 AM, domenico09 <[EMAIL PROTECTED]> wrote:
>
> I got the same problem on  my portable(windowx XP) but not on my desk
> top(windows XP) !
> I reinstalled python, numpy and matplotlib either from internet and from my
> desk top (where things works well) but I got the same problem!
> thanks for any sugegstion

Have you tried the enthought python distribution or python xy?  Both
are single click installers that come with python, numpy, ipython,
matplotlib and more.

  http://www.enthought.com/products/epd.php
  http://www.pythonxy.com/foreword.php

JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-19 Thread Frank Lagor
On Wed, Nov 19, 2008 at 4:52 AM,  <[EMAIL PROTECTED]> wrote:
>
> Frank Lagor wrote:
>>
>> Hi,
>>
>> I am sorry to bug you all with an installation problem, but I need
>> some additional help to get this figured out.
>>
>> I previously had a matplotlib installed and working fine, but it was
>> necessary for me to redo some other installations like numpy when I
>> needed a complete lapack library.  This also led to me installing
>> another version of g77, because numpy needed a specific library that
>> was only provide by the g77 version of fortran for some reason.
>> Anyways, numpy works great but I went back to install matplotlib and I
>> ran into trouble.  After the installation process, if I try to import
>> matplotlib.pylab I get the following errors:
>>
>> from matplotlib._path import affine_transform
>> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
>> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
>>
>> Is this a problem that I can fix in the matplotlib installation or do
>> I need to go back up to the numpy installation?
>>
>> I should note that I do not have gcc-4.2.0 on my system.
>>
>> Thanks in advance,
>> Frank
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
> Quoted from:
> http://www.nabble.com/Installation-problem-tp20427671p20427671.html
>
> I have the same problem on my portable (windows XP) but everithing works on 
> my desk top!!
> Do you have received any answer?
> Thanks
> Domenico
>
>
>


Hi Domenico,

Yes, the problem was resolved and it all works great now.  I can't
tell you exactly what fixed it because I am no an expert on library
files, compiling stuff, etc.  However, here is what I thought:  I
thought that the libstdc++.so was not finding the correct library
files for the compiler or that there was a difference between the
version of gcc compiler used to make the libstdc++.so file and the gcc
compiler that I used to build other python related dependencies like
numpy.  So here is what I did:  (I'm sorry but I do not know how to do
this in wondows.  I only know what I did linux)

1) Installed a brand new version on the gcc suite of compilers on my
computer.  (I took a long time to do this, but I wanted to make sure
that all the library files and the compilers that I used matched up
and worked well.)  I seem to recall that there was one flag which was
important: I think it was --with-gnu-ld, which tells gcc to use the
gnu ld program for linking library files.   Please also be sure to set
the LD_LIBRARY_PATH variable to find all the appropriate library
files.

2) I rebuilt LAPACK and ATLAS (because I was having trouble with them
too and I knew that numpy depended on the lapack routines.

3) I rebuilt numpy.

4) I installed matplotlib.

I know this probably seems like overkill, but it is what I had to do
to get my machine working.

Sorry I can't be of more help, these issues are pretty specific to the
individual computer.

Best of luck,

Frank

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-19 Thread domenico09

I got the same problem on  my portable(windowx XP) but not on my desk
top(windows XP) !
I reinstalled python, numpy and matplotlib either from internet and from my
desk top (where things works well) but I got the same problem!
thanks for any sugegstion
Best Regards
Domenico


Frank Lagor wrote:
> 
> Hi,
> 
> I am sorry to bug you all with an installation problem, but I need
> some additional help to get this figured out.
> 
> I previously had a matplotlib installed and working fine, but it was
> necessary for me to redo some other installations like numpy when I
> needed a complete lapack library.  This also led to me installing
> another version of g77, because numpy needed a specific library that
> was only provide by the g77 version of fortran for some reason.
> Anyways, numpy works great but I went back to install matplotlib and I
> ran into trouble.  After the installation process, if I try to import
> matplotlib.pylab I get the following errors:
> 
> from matplotlib._path import affine_transform
> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
> 
> Is this a problem that I can fix in the matplotlib installation or do
> I need to go back up to the numpy installation?
> 
> I should note that I do not have gcc-4.2.0 on my system.
> 
> Thanks in advance,
> Frank
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installation-problem-tp20427671p20576644.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-10 Thread Frank Lagor
On Mon, Nov 10, 2008 at 4:00 PM, Darren Dale <[EMAIL PROTECTED]> wrote:
> On Monday 10 November 2008 03:37:26 pm Frank Lagor wrote:
>
>> Hi,
>
>>
>
>> I am sorry to bug you all with an installation problem, but I need
>
>> some additional help to get this figured out.
>
>>
>
>> I previously had a matplotlib installed and working fine, but it was
>
>> necessary for me to redo some other installations like numpy when I
>
>> needed a complete lapack library. This also led to me installing
>
>> another version of g77, because numpy needed a specific library that
>
>> was only provide by the g77 version of fortran for some reason.
>
>> Anyways, numpy works great but I went back to install matplotlib and I
>
>> ran into trouble. After the installation process, if I try to import
>
>> matplotlib.pylab I get the following errors:
>
>>
>
>> from matplotlib._path import affine_transform
>
>> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
>
>> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
>
>>
>
>> Is this a problem that I can fix in the matplotlib installation or do
>
>> I need to go back up to the numpy installation?
>
>>
>
>> I should note that I do not have gcc-4.2.0 on my system.
>
> Try removing the build/ directory from your mpl source directory, as well as
> your site-packages/matplotlib*, and recompile.

Hi Darren,

Yes, unfrotunately I tried this as well to no avail.

Thank you though,
Frank

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-10 Thread Darren Dale
On Monday 10 November 2008 03:37:26 pm Frank Lagor wrote:
> Hi,
>
> I am sorry to bug you all with an installation problem, but I need
> some additional help to get this figured out.
>
> I previously had a matplotlib installed and working fine, but it was
> necessary for me to redo some other installations like numpy when I
> needed a complete lapack library.  This also led to me installing
> another version of g77, because numpy needed a specific library that
> was only provide by the g77 version of fortran for some reason.
> Anyways, numpy works great but I went back to install matplotlib and I
> ran into trouble.  After the installation process, if I try to import
> matplotlib.pylab I get the following errors:
>
> from matplotlib._path import affine_transform
> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
>
> Is this a problem that I can fix in the matplotlib installation or do
> I need to go back up to the numpy installation?
>
> I should note that I do not have gcc-4.2.0 on my system.

Try removing the build/ directory from your mpl source directory, as well as 
your site-packages/matplotlib*, and recompile.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-10 Thread Frank Lagor
On Mon, Nov 10, 2008 at 3:46 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> I don't know if this will help, but...
>
> Python packages generally don't have proper dependency management when
> building.  That means, if an underlying dependency changes, it often doesn't
> rebuild enough to keep things in sync.  You may want to try rebuilding
> everything after first completely removing the "build" directory to force a
> complete rebuild.  Do numpy first then matplotlib.
>
> ...but maybe you've tried that already, in which case, I don't know off
> hand...
>
> Mike
>
> Frank Lagor wrote:
>>
>> Hi,
>>
>> I am sorry to bug you all with an installation problem, but I need
>> some additional help to get this figured out.
>>
>> I previously had a matplotlib installed and working fine, but it was
>> necessary for me to redo some other installations like numpy when I
>> needed a complete lapack library.  This also led to me installing
>> another version of g77, because numpy needed a specific library that
>> was only provide by the g77 version of fortran for some reason.
>> Anyways, numpy works great but I went back to install matplotlib and I
>> ran into trouble.  After the installation process, if I try to import
>> matplotlib.pylab I get the following errors:
>>
>> from matplotlib._path import affine_transform
>> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
>> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
>>
>> Is this a problem that I can fix in the matplotlib installation or do
>> I need to go back up to the numpy installation?
>>
>> I should note that I do not have gcc-4.2.0 on my system.
>>
>> Thanks in advance,
>> Frank
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
>

Thanks so much for the response, Mike.  Yes, I learned the hard way a
long time ago about having to rm -rf build/ when rebuilding python
packages.  I have tried this here, but I still have an issue.  I am
currently trying to rebuild with a different compiler and playing with
environment variables.  I would love any other suggestions.   Thanks,
Frank

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2008-11-10 Thread Michael Droettboom
I don't know if this will help, but...

Python packages generally don't have proper dependency management when 
building.  That means, if an underlying dependency changes, it often 
doesn't rebuild enough to keep things in sync.  You may want to try 
rebuilding everything after first completely removing the "build" 
directory to force a complete rebuild.  Do numpy first then matplotlib.

...but maybe you've tried that already, in which case, I don't know off 
hand...

Mike

Frank Lagor wrote:
> Hi,
>
> I am sorry to bug you all with an installation problem, but I need
> some additional help to get this figured out.
>
> I previously had a matplotlib installed and working fine, but it was
> necessary for me to redo some other installations like numpy when I
> needed a complete lapack library.  This also led to me installing
> another version of g77, because numpy needed a specific library that
> was only provide by the g77 version of fortran for some reason.
> Anyways, numpy works great but I went back to install matplotlib and I
> ran into trouble.  After the installation process, if I try to import
> matplotlib.pylab I get the following errors:
>
> from matplotlib._path import affine_transform
> ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
> version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)
>
> Is this a problem that I can fix in the matplotlib installation or do
> I need to go back up to the numpy installation?
>
> I should note that I do not have gcc-4.2.0 on my system.
>
> Thanks in advance,
> Frank
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Installation problem

2008-11-10 Thread Frank Lagor
Hi,

I am sorry to bug you all with an installation problem, but I need
some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was
necessary for me to redo some other installations like numpy when I
needed a complete lapack library.  This also led to me installing
another version of g77, because numpy needed a specific library that
was only provide by the g77 version of fortran for some reason.
Anyways, numpy works great but I went back to install matplotlib and I
ran into trouble.  After the installation process, if I try to import
matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform
ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do
I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Thanks in advance,
Frank

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem/crash

2007-12-11 Thread Ryan Krauss
Fernando was right on.  Here is his response to me:

Laptop - Ok
Windows XP Professional, Service Pack 2
AMD Athlon 64 3400+  (ClawHammer)
1.67 GHz, 768 MB of RAM
Chipset:  SiS 755/755FX
Southbridge:  SiS LPC Bridge
Instructions:  MMX (+), 3DNow! (+), SSE, SSE2, x86-64

Machine 1 - Crashes
Windows XP Professional, Service Pack 2
AMD Athlon XP 2000+  (Thoroughbred)
1.67 GHz, 768 MB of RAM
ASUS A7V8X-X motherboard
Chipset:  VIA KT400 (VT8377)
Southbridge:  VIA VT8235
Instructions:  MMX (+), 3DNow! (+), SSE

Machine 2 - Crashes
Windows XP Professional, Service Pack 2
AMD Athlon XP 2600+  (Barton)
1.92 GHz, 2.0 GB of RAM
ASUS A7V880 motherboard
Chipset:  VIA KT880
Southbridge:  VIA VT8237
Instructions:  MMX (+), 3DNow! (+), SSE

I ran the following statements on both machines which caused it to crash:

import numpy
numpy.test()

Here is the output:

Numpy is installed in C:\Python25\lib\site-packages\numpy
Numpy version 1.0.4
Python version 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
v.1310 32 bit (Int
el)]
  Found 10/10 tests for numpy.core.defmatrix
  Found 36/36 tests for numpy.core.ma
  Found 223/223 tests for numpy.core.multiarray
  Found 65/65 tests for numpy.core.numeric
  Found 31/31 tests for numpy.core.numerictypes
  Found 12/12 tests for numpy.core.records
  Found 6/6 tests for numpy.core.scalarmath
  Found 14/14 tests for numpy.core.umath
  Found 4/4 tests for numpy.ctypeslib
  Found 5/5 tests for numpy.distutils.misc_util
  Found 1/1 tests for numpy.fft.fftpack
  Found 3/3 tests for numpy.fft.helper
  Found 9/9 tests for numpy.lib.arraysetops
  Found 46/46 tests for numpy.lib.function_base
  Found 5/5 tests for numpy.lib.getlimits
  Found 4/4 tests for numpy.lib.index_tricks
  Found 3/3 tests for numpy.lib.polynomial
  Found 49/49 tests for numpy.lib.shape_base
  Found 15/15 tests for numpy.lib.twodim_base
  Found 43/43 tests for numpy.lib.type_check
  Found 1/1 tests for numpy.lib.ufunclike
  Found 40/40 tests for numpy.linalg
  Found 2/2 tests for numpy.random
  Found 0/0 tests for __main__








.

Sounds like the problem is the fact that my desktop computers do not
support SSE2 instructions which are in the latest numpy binaries.
This also explains why it works fine on the laptop which does support
SSE2.


I piggy-backed onto an existing thread on the numpy list (is that bad
listserve etiquette? - probably: I now have the same question on two
lists and I tried to high jack a thread.).  Unless someone has a
better idea, I will try and build from source for him.  But my windows
building skills are not what they should be.

Ryan



On Dec 11, 2007 2:06 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>
> On Dec 11, 2007 12:01 PM, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> > I am trying to help a student get started with
> > Python/Scipy/Numpy/Matplotlib in windows.  On one of his machines,
> > everything seems to install correctly, we can call figure(1) without a
> > problem, and plotting is fine until we try the show() command.  Then
> > python crashes without much in the way of useful information.  His
> > laptop is completely fine.
> >
> > We have downloaded a current rc file and set the backend to TkAgg.
> >
> > Any thoughts?
> >
> > How do we get more info to track down the problem?
>
> Go to the windows information screens and fetch out some CPU details.
> If it's a Pentium III, chances are the SSE2 instructions in the latest
> numpy binary are the culprit. If it's a newer chip, we'll need to dig
> deeper.
>
> Cheers,
>
> f
>

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem/crash

2007-12-11 Thread Ryan Krauss
Pretty sure it's a newer chip, but I will find out.

On Dec 11, 2007 2:06 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>
> On Dec 11, 2007 12:01 PM, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> > I am trying to help a student get started with
> > Python/Scipy/Numpy/Matplotlib in windows.  On one of his machines,
> > everything seems to install correctly, we can call figure(1) without a
> > problem, and plotting is fine until we try the show() command.  Then
> > python crashes without much in the way of useful information.  His
> > laptop is completely fine.
> >
> > We have downloaded a current rc file and set the backend to TkAgg.
> >
> > Any thoughts?
> >
> > How do we get more info to track down the problem?
>
> Go to the windows information screens and fetch out some CPU details.
> If it's a Pentium III, chances are the SSE2 instructions in the latest
> numpy binary are the culprit. If it's a newer chip, we'll need to dig
> deeper.
>
> Cheers,
>
> f
>

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem/crash

2007-12-11 Thread Fernando Perez
On Dec 11, 2007 12:01 PM, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> I am trying to help a student get started with
> Python/Scipy/Numpy/Matplotlib in windows.  On one of his machines,
> everything seems to install correctly, we can call figure(1) without a
> problem, and plotting is fine until we try the show() command.  Then
> python crashes without much in the way of useful information.  His
> laptop is completely fine.
>
> We have downloaded a current rc file and set the backend to TkAgg.
>
> Any thoughts?
>
> How do we get more info to track down the problem?

Go to the windows information screens and fetch out some CPU details.
If it's a Pentium III, chances are the SSE2 instructions in the latest
numpy binary are the culprit. If it's a newer chip, we'll need to dig
deeper.

Cheers,

f

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem/crash

2007-12-11 Thread John Hunter
On Dec 11, 2007 1:01 PM, Ryan Krauss <[EMAIL PROTECTED]> wrote:

> I am trying to help a student get started with
> Python/Scipy/Numpy/Matplotlib in windows.  On one of his machines,
> everything seems to install correctly, we can call figure(1) without a
> problem, and plotting is fine until we try the show() command.  Then
> python crashes without much in the way of useful information.  His
> laptop is completely fine.
>
> We have downloaded a current rc file and set the backend to TkAgg.
>
> Any thoughts?

First try

  >>> import numpy
  >>> numpy.test()

there is a numpy problem on windows that affects older machines.

If that works, create a simple test file that generates a plot and
calls savefig and run it with

  > python myscript.py --verbose-debug-annoying

try different backends by adding -dPS or -dAgg to the verbose flag
from the command line and see which backends crash and report back
with the verbose output

JDH

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] installation problem/crash

2007-12-11 Thread Ryan Krauss
I am trying to help a student get started with
Python/Scipy/Numpy/Matplotlib in windows.  On one of his machines,
everything seems to install correctly, we can call figure(1) without a
problem, and plotting is fine until we try the show() command.  Then
python crashes without much in the way of useful information.  His
laptop is completely fine.

We have downloaded a current rc file and set the backend to TkAgg.

Any thoughts?

How do we get more info to track down the problem?

Thanks,

Ryan

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem: gobject not found

2007-11-10 Thread John Hunter
On Nov 9, 2007 1:08 PM, Don Peterson <[EMAIL PROTECTED]> wrote:

> Note: I had been using the Enthought edition of python (2.4.3 version of
> python) and matplotlib and everything worked great. I then tried to
> install the map addition to matplotlib and the installation failed. After
> that, I started getting the import error on gobject, which I assume is
> something from GTK.
>
> Does anyone have any suggestions on how to fix this? I'm pretty helpless
> right now without matplotlib, as I use it to generate graphs for a
> technical document I'm writing.

For some reason, your backend is being set to GTKAgg, though this
should not be the default on windows.  If you want to use GTK, you can
install pygtk which has a win32 installer.  But more likely, you don't
want this, so you need to find your matplotlib rc file and change the
backend bariable o TkAgg (i you ant to use TkInter) or WXAgg (if you
want to use wxpython).  If you are usin the enthought tools, you may
want to consider WxAgg since many of their tools work with wx.

The easiest  way to find your matplotlib rc file is to run a simple
script that imports pylab with the --verbose-helpful flag, eg

> python myscript.py --verbose-helpful

and it will print a line telling you the path to the matplotlib rc
file.  Change the backend line from GTKAgg to the desired backend.

JDH

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Installation problem: gobject not found

2007-11-10 Thread Don Peterson
I just did a fresh install of python 2.5.1, numpy-1.0.3.1.win32-py2.5.exe,
and matplotlib-0.90.1.win32-py2.5.exe. When I try to run the following
script:

from __future__ import division
from pylab import *

plot([1,2,3])
show()

I get the following traceback:

Traceback (most recent call last):
File "a.py", line 5, in 
from pylab import *
File "C:\python251\Lib\site-packages\pylab.py", line 1, in 
from matplotlib.pylab import *
File "c:\python251\lib\site-packages\matplotlib\pylab.py", line 222, in

new_figure_manager, draw_if_interactive, show = pylab_setup()
File "C:\python251\Lib\site-packages\matplotlib\backends\__init__.py",
line 24
, in pylab_setup
globals(),locals(),[backend_name])
File
"c:\python251\lib\site-packages\matplotlib\backends\backend_gtkagg.py", l
ine 10, in 
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
FigureCan
vasGTK,\
File "C:\python251\Lib\site-packages\matplotlib\backends\backend_gtk.py",
line
6, in 
import gobject
ImportError: No module named gobject

--
Note: I had been using the Enthought edition of python (2.4.3 version of
python) and matplotlib and everything worked great. I then tried to
install the map addition to matplotlib and the installation failed. After
that, I started getting the import error on gobject, which I assume is
something from GTK.

Does anyone have any suggestions on how to fix this? I'm pretty helpless
right now without matplotlib, as I use it to generate graphs for a
technical document I'm writing.

Please respond to:

Don Peterson
[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem matplotlib svn

2007-01-15 Thread Steve Chaplin
On Mon, 2007-01-15 at 10:57 -0800,
[EMAIL PROTECTED] wrote:
> Hi,
> 
> I cannot install the latest matplotlib on openSUSE10.2
> python setup.py install yields
> 
OK, I've updated _image.cpp to work on 64-bit systems with new versions
of Python, but you will need to test it for me.

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem matplotlib svn

2007-01-15 Thread Darren Dale
On Monday 15 January 2007 13:56, Nils Wagner wrote:
> Hi,
>
> I cannot install the latest matplotlib on openSUSE10.2

Have you tried deleting your build and site-packages/matplotlib directories, 
and rebuilding from scratch?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Installation problem matplotlib svn

2007-01-15 Thread Nils Wagner
Hi,

I cannot install the latest matplotlib on openSUSE10.2
python setup.py install yields

gcc: src/_nc_backend_agg.cpp
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
BufferRegion]’:
src/_backend_agg.h:50:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
LazyValue]’:
src/_transforms.h:27:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
Func]’:
src/_transforms.h:379:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
FuncXY]’:
src/_transforms.h:466:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
Transformation]’:
src/_transforms.h:538:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
RendererAgg]’:
src/_nc_backend_agg.cpp:219:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
agg23/include/agg_conv_curve.h: In member function 
‘unsigned int 
agg::conv_curve::vertex(double*, double*) 
[with VertexSource = agg::path_storage]’:
agg23/include/agg_conv_curve.h:123: warning: ‘end_y’ may 
be used uninitialized in this function
agg23/include/agg_conv_curve.h:122: warning: ‘end_x’ may 
be used uninitialized in this function
agg23/include/agg_conv_curve.h:121: warning: ‘ct2_y’ may 
be used uninitialized in this function
agg23/include/agg_conv_curve.h:120: warning: ‘ct2_x’ may 
be used uninitialized in this function
gcc: src/ft2font.cpp
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
Glyph]’:
src/ft2font.cpp:14:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
FT2Font]’:
src/ft2font.cpp:313:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
gcc: agg23/src/agg_image_filters.cpp
gcc: src/_image.cpp
src/_image.cpp: In member function ‘Py::Object 
Image::color_conv(const Py::Tuple&)’:
src/_image.cpp:237: error: cannot convert ‘int*’ to 
‘Py_ssize_t*’ for argument ‘3’ to ‘int 
PyObject_AsWriteBuffer(PyObject*, void**, Py_ssize_t*)’
src/_image.cpp: In member function ‘Py::Object 
_image_module::readpng(const Py::Tuple&)’:
src/_image.cpp:872: warning: ignoring return value of 
‘size_t fread(void*, size_t, size_t, FILE*)’, declared 
with attribute warn_unused_result
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
Image]’:
src/_image.cpp:50:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
src/_image.cpp: In member function ‘Py::Object 
Image::color_conv(const Py::Tuple&)’:
src/_image.cpp:237: error: cannot convert ‘int*’ to 
‘Py_ssize_t*’ for argument ‘3’ to ‘int 
PyObject_AsWriteBuffer(PyObject*, void**, Py_ssize_t*)’
src/_image.cpp: In member function ‘Py::Object 
_image_module::readpng(const Py::Tuple&)’:
src/_image.cpp:872: warning: ignoring return value of 
‘size_t fread(void*, size_t, size_t, FILE*)’, declared 
with attribute warn_unused_result
./CXX/Extensions.hxx: In constructor 
‘Py::PythonExtension::PythonExtension() [with T = 
Image]’:
src/_image.cpp:50:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of 
comma has no effect
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG 
-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC 
-I/usr/local/include -I/usr/include -I. -Isrc -Iswig 
-Iagg23/include -I. -I/usr/local/include -I/usr/include 
-I. -I/usr/local/include/freetype2 
-I/usr/include/freetype2 -I./freetype2 -Isrc/freetype2 
-Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 
-I/usr/local/include/freetype2 -I/usr/include/freetype2 
-I./freetype2 -I/usr/include/python2.5 -c src/_image.cpp 
-o build/temp.linux-x86_64-2.5/src/_image.o -DNUMERIC=1" 
failed with exit status 1

Nils

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https:/

Re: [Matplotlib-users] Installation problem

2006-12-05 Thread Christopher Barker
Piter_ wrote:
> If I start python (2.3).
> 
>  >from pylab import *
> plot([1,2,3])
> nothing happens.

what if you then type:

show()

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation problem

2006-12-05 Thread John Hunter
> "Piter" == Piter  <[EMAIL PROTECTED]> writes:

Piter> Hi all.  I am new user of matplot-lib and Python. I try to
Piter> find replacement for matlab.  Now I use Debian-testing but
Piter> my experience with it is little.  I have reinstalled system
Piter> few days ago and matplotlib is not working now.  If I start
Piter> python (2.3).

>> from pylab import *
Piter> plot([1,2,3]) nothing happens.

Piter> from IDLE it does not work to.

To run matplotlib from idle, you need to make the following changes to
your matplotlibrc file

backend  : TkAgg
interactive  : True

See http: //matplotlib.sourceforge.net/matplotlibrc for details on the
rc file and http://matplotlib.sourceforge.net/interactive.html for an
explanation of what these settings mean.

JDH

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Installation problem

2006-12-05 Thread Piter_

Hi all.
I am new user of matplot-lib and Python. I try to find replacement for
matlab.
Now I use Debian-testing but my experience with it is little.
I have reinstalled system few days ago and matplotlib is not working now.
If I start python (2.3).


from pylab import *

plot([1,2,3])
nothing happens.

from IDLE
it does not work to.

if i run  ipython  -pylab
It works

How can I connect matplotlib to IDLE, or something similar.
Thanks.
Petro
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
It can't find tk.h so it looks like you need to install the tk dev packages.

On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Here is the output of an attempt to install 0.87.4 with tkagg.
>
> It installs fine without it.
>
>
> Any ideas will be appreciated.
>
> TIA,
>   -sen
>
> compile options:
> '-I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I. -I/usr/local/include
> -I/usr/include -I. -I/
> usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc
> lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/i
> nclude/python2.4 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_ns_backend_gdk.c
> gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o
> -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0
> -lglib-2.0 -lgtk
> -x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
> -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> -o build/lib.linu
> x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so
> building 'matplotlib.backends._tkagg' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-un
> wind-tables -D_GNU_SOURCE -fPIC -fPIC
>
> compile options: '-I/usr/include -I/usr/include -I/usr/local/include
> -I/usr/include -I. -Isrc -Iswig -Iagg23/include
> -I. -I/usr/local/include -I/usr/includ
> e -I. -I/usr/include/freetype2 -I/usr/include/freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -Isrc/freetype2 -Iswig/freety
> pe2 -Iagg23/include/freetype2 -I./freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -I/usr/include/python2.4 -c'
> gcc: src/_tkagg.cpp
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:188: error: 'struct TkappObject' has no member named
> 'interp'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in
> this scope
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primar

Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1

Here is the output of an attempt to install 0.87.4 with tkagg.

It installs fine without it.


Any ideas will be appreciated.

TIA,
 -sen

compile options:
'-I/usr/lib/python2.4/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I. -I/usr/local/include
-I/usr/include -I. -I/
usr/include/pygtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc
lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/i
nclude/python2.4 -c'
extra options: '-DSCIPY=1'
gcc: src/_ns_backend_gdk.c
gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o
-L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0
-lglib-2.0 -lgtk
-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-o build/lib.linu
x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so
building 'matplotlib.backends._tkagg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-un
wind-tables -D_GNU_SOURCE -fPIC -fPIC

compile options: '-I/usr/include -I/usr/include -I/usr/local/include
-I/usr/include -I. -Isrc -Iswig -Iagg23/include
-I. -I/usr/local/include -I/usr/includ
e -I. -I/usr/include/freetype2 -I/usr/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-Isrc/freetype2 -Iswig/freety
pe2 -Iagg23/include/freetype2 -I./freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/python2.4 -c'
gcc: src/_tkagg.cpp
src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
src/_tkagg.cpp:36: error: ISO C++ forbids declaration of ‘Tcl_Interp’
with no type
src/_tkagg.cpp:36: error: expected ‘;’ before ‘*’ token
src/_tkagg.cpp:40: error: ‘ClientData’ was not declared in this scope
src/_tkagg.cpp:40: error: ‘Tcl_Interp’ was not declared in this scope
src/_tkagg.cpp:40: error: ‘interp’ was not declared in this scope
src/_tkagg.cpp:41: error: expected primary-expression before ‘int’
src/_tkagg.cpp:41: error: expected primary-expression before ‘char’
src/_tkagg.cpp:41: error: initializer expression list treated as
compound expression
src/_tkagg.cpp:42: error: expected ‘,’ or ‘;’ before ‘{’ token
src/_tkagg.cpp: In function ‘PyObject* _tkinit(PyObject*, PyObject*)’:
src/_tkagg.cpp:174: error: ‘Tcl_Interp’ was not declared in this scope
src/_tkagg.cpp:174: error: ‘interp’ was not declared in this scope
src/_tkagg.cpp:183: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:183: error: expected `;' before ‘arg’
src/_tkagg.cpp:188: error: ‘struct TkappObject’ has no member named
‘interp’
src/_tkagg.cpp:194: error: ‘Tcl_CmdProc’ was not declared in this
scope
src/_tkagg.cpp:194: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:195: error: ‘ClientData’ was not declared in this scope
src/_tkagg.cpp:195: error: ‘Tcl_CmdDeleteProc’ was not declared in
this scope
src/_tkagg.cpp:195: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:195: error: ‘Tcl_CreateCommand’ was not declared in
this scope
src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
src/_tkagg.cpp:36: error: ISO C++ forbids declaration of ‘Tcl_Interp’
with no type
src/_tkagg.cpp:36: error: expected ‘;’ before ‘*’ token
src/_tkagg.cpp:40: error: ‘ClientData’ was not declared in this scope
src/_tkagg.cpp:40: error: ‘Tcl_Interp’ was not declared in this scope
src/_tkagg.cpp:40: error: ‘interp’ was not declared in this scope
src/_tkagg.cpp:41: error: expected primary-expression before ‘int’
src/_tkagg.cpp:41: error: expected primary-expression before ‘char’
src/_tkagg.cpp:41: error: initializer expression list treated as
compound expression
src/_tkagg.cpp:42: error: expected ‘,’ or ‘;’ before ‘{’ token
src/_tkagg.cpp: In function ‘PyObject* _tkinit(PyObject*, PyObject*)’:
src/_tkagg.cpp:174: error: ‘Tcl_Interp’ was not declared in this scope
src/_tkagg.cpp:174: error: ‘interp’ was not declared in this scope
src/_tkagg.cpp:183: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:183: error: expected `;' before ‘arg’
src/_tkagg.cpp:194: error: ‘Tcl_CmdProc’ was not declared in this
scope
src/_tkagg.cpp:194: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:195: error: ‘ClientData’ was not declared in this scope
src/_tkagg.cpp:195: error: ‘Tcl_CmdDeleteProc’ was not declared in
this scope
src/_tkagg.cpp:195: error: expected primary-expression before ‘)’
token
src/_tkagg.cpp:195: error: ‘Tcl_CreateCommand’ was not declared in
this scope
error: Command "gcc -pthread -fno-strict-al

Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK, I was able to install with 0.87.4 (still no tkagg, however).

What's the error you are getting with tk?  Do you have the dev
packages installed?

> This is still with the tar.gz version of numpy-1.0b
>
> I will  try to re-install numpy from the rpms to see if that makes a
> difference.
> -sen
>
> BTW You guys are great!  I love the way you got to my questions so
> fast. Reminds me of the old redhat days (e.g. when Eric Troan, Donnie
> Barnes, Marc Ewing, etc. would answer questions on the mailing lists).

Thanks!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1
I got the numpy src.rpm from www.numpy.org

On Fri, 28 Jul 2006, Asheesh Laroia wrote:

> On Thu, 27 Jul 2006, [EMAIL PROTECTED] wrote:
>
>> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have been 
>> added.
>
> Well, something in the build system thinks something is missing.  So let us 
> know *exactly* what RPMs you installed (with URLs preferably), or where you 
> got the source packages for those things and how you installed them.
>
> -- Asheesh.
>
>

-- 
  ---
  | Sheldon E. Newhouse|e-mail: [EMAIL PROTECTED]   |
  | Mathematics Department |   |
  | Michigan State University  | telephone: 517-355-9684|
  | E. Lansing, MI 48824-1027 USA  |   FAX: 517-432-1562|
  ---

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-29 Thread sen1
OK, I was able to install with 0.87.4 (still no tkagg, however).

This is still with the tar.gz version of numpy-1.0b

I will  try to re-install numpy from the rpms to see if that makes a
difference. 
-sen

BTW You guys are great!  I love the way you got to my questions so
fast. Reminds me of the old redhat days (e.g. when Eric Troan, Donnie
Barnes, Marc Ewing, etc. would answer questions on the mailing lists).

I hope you can keep it up.


On Fri, 28 Jul 2006, Charlie Moad wrote:

> It looks like Travis committed a numpy 1.0 compatibility fix on July
> 7th.  It includes the header which addresses your error.  You will
> have to use >=matplotlib-0.87.4 if you want to use the latest numpy.
>
> - Charlie
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
What version of numpy are you using, and was it installed from source
or package?

On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
>   I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
>
> The system has python-2.4 installed
>
> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
> been added.
>
> I am including the output of running
>
> $ python setup.py install
>
> Any help is appreciated.
>
> -Thanks,
>   -sen1
>
> Output of above script:
>
> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
> DeprecationWarning: get_
> numpy_include is deprecated, use get_include
>DeprecationWarning)
> running install
> running build
> running build_py
> running build_ext
> building 'matplotlib._ns_cntr' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -Wp,-D_FORTI
> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-unwind-
> tables -D_GNU_SOURCE -fPIC -fPIC
>
> compile options:
> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_ns_cntr.c
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this functi
> on)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this functi
> on)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> -pipe -Wp,-D_F
> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-unw
> ind-tables -D_GNU_SOURCE -fPIC -fPIC
> -I/usr/lib/python2.4/site-packages/numpy/co
> re/include -I/usr/local/include -I/usr/include
> -I. -I/usr/include/python2.4 -c s
> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> failed with
>   exit status 1
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread Asheesh Laroia
On Thu, 27 Jul 2006, [EMAIL PROTECTED] wrote:

> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have 
> been added.

Well, something in the build system thinks something is missing.  So let 
us know *exactly* what RPMs you installed (with URLs preferably), or where 
you got the source packages for those things and how you installed them.

-- Asheesh.

-- 
You have been selected for a secret mission.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
It looks like Travis committed a numpy 1.0 compatibility fix on July
7th.  It includes the header which addresses your error.  You will
have to use >=matplotlib-0.87.4 if you want to use the latest numpy.

- Charlie

On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK,
> I removed the rpms, and used a direct install of numpy-1.0b1 from the
>   tar.gz package.
>
> Then, I tried to install matplotlib-0.87 from the tar.gz package.
>
> Apparently, same problem:
>
> python setup.py build >& build.log
> [EMAIL PROTECTED] matplotlib-0.87.3]# tail build.log
> gcc: src/_ns_cntr.c
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this function)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this function)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
> -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
> -I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c
> src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> failed with exit status 1
>
>
> On Fri, 28 Jul 2006, Charlie Moad wrote:
>
> > What version of numpy are you using, and was it installed from source
> > or package?
> >
> > On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >>   I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
> >>
> >> The system has python-2.4 installed
> >>
> >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
> >> been added.
> >>
> >> I am including the output of running
> >>
> >> $ python setup.py install
> >>
> >> Any help is appreciated.
> >>
> >> -Thanks,
> >>   -sen1
> >>
> >> Output of above script:
> >>
> >> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
> >> DeprecationWarning: get_
> >> numpy_include is deprecated, use get_include
> >>DeprecationWarning)
> >> running install
> >> running build
> >> running build_py
> >> running build_ext
> >> building 'matplotlib._ns_cntr' extension
> >> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> >> -Wp,-D_FORTI
> >> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> >> -fasynchronous-unwind-
> >> tables -D_GNU_SOURCE -fPIC -fPIC
> >>
> >> compile options:
> >> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
> >> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
> >> extra options: '-DSCIPY=1'
> >> gcc: src/_ns_cntr.c
> >> src/_ns_cntr.c: In function 'Cntr_init':
> >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> >> this functi
> >> on)
> >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> >> only once
> >> src/_ns_cntr.c:1582: error: for each function it appears in.)
> >> src/_ns_cntr.c: In function 'Cntr_init':
> >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> >> this functi
> >> on)
> >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> >> only once
> >> src/_ns_cntr.c:1582: error: for each function it appears in.)
> >> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> >> -pipe -Wp,-D_F
> >> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> >> -fasynchronous-unw
> >> ind-tables -D_GNU_SOURCE -fPIC -fPIC
> >> -I/usr/lib/python2.4/site-packages/numpy/co
> >> re/include -I/usr/local/include -I/usr/include
> >> -I. -I/usr/include/python2.4 -c s
> >> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> >> failed with
> >>   exit status 1
> >>
> >>
> >> -
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> opinions on IT & business topics through brief surveys -- and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>
> >> ___
> >> Matplotlib-users mailing list
> >> Matplotlib-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >>
> >>
> >>
> >
>
> --
>   ---
>   | Sheldon E. Newhouse|e-mail: [EMAIL PROTECTED]   |
>   | Mathematics Department |   |
>   | Michigan State University  | telephone: 517-355-9684|
>   | E. Lansing, MI 48824-1027 USA  |   FAX: 517-4

Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
> Is it easy to unstall one version of a module before installing
> another one.

It will just overwrite the old files, so normally you don't run into
problems.  There is no defacto way to remove the modules though.  It
is usually pretty obvious what needs to be removed from the
site-packages folder.  Sometimes it is a little more difficult.
Matplotlib installs matplotlib, pytz, dateutil, and pylab.py.

- Charlie

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread sen1

OK,
I removed the rpms, and used a direct install of numpy-1.0b1 from the
 tar.gz package.

Then, I tried to install matplotlib-0.87 from the tar.gz package.

Apparently, same problem:

python setup.py build >& build.log
[EMAIL PROTECTED] matplotlib-0.87.3]# tail build.log
gcc: src/_ns_cntr.c
src/_ns_cntr.c: In function ‘Cntr_init’:
src/_ns_cntr.c:1582: error: ‘PyArray_SBYTE’ undeclared (first use in
this function)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
src/_ns_cntr.c: In function ‘Cntr_init’:
src/_ns_cntr.c:1582: error: ‘PyArray_SBYTE’ undeclared (first use in
this function)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
-pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
-I/usr/lib/python2.4/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c
src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
failed with exit status 1


On Fri, 28 Jul 2006, Charlie Moad wrote:


What version of numpy are you using, and was it installed from source
or package?

On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello,
  I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box

The system has python-2.4 installed

All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
been added.

I am including the output of running

$ python setup.py install

Any help is appreciated.

-Thanks,
  -sen1

Output of above script:

/usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
DeprecationWarning: get_
numpy_include is deprecated, use get_include
   DeprecationWarning)
running install
running build
running build_py
running build_ext
building 'matplotlib._ns_cntr' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTI
FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-
tables -D_GNU_SOURCE -fPIC -fPIC

compile options:
'-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
extra options: '-DSCIPY=1'
gcc: src/_ns_cntr.c
src/_ns_cntr.c: In function 'Cntr_init':
src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
this functi
on)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
src/_ns_cntr.c: In function 'Cntr_init':
src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
this functi
on)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
-pipe -Wp,-D_F
ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unw
ind-tables -D_GNU_SOURCE -fPIC -fPIC
-I/usr/lib/python2.4/site-packages/numpy/co
re/include -I/usr/local/include -I/usr/include
-I. -I/usr/include/python2.4 -c s
rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
failed with
  exit status 1


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your

opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users







--
 ---
 | Sheldon E. Newhouse|e-mail: [EMAIL PROTECTED]   |
 | Mathematics Department ||
 | Michigan State University  | telephone: 517-355-9684|
 | E. Lansing, MI 48824-1027 USA  |   FAX: 517-432-1562|
 
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread sen1
I installed numpy-1.0b1 from a src RPM. I built the RPM from the src
RPM.

Given your question, I will try to reinstall using the tar.gz file.

Incidentally, I went back to matplotlib-0.83, and was able to install
that after disabling the TKAGG module.

I'll report back on the tar.gz thing.

Incidentally, it seems to me looking at the various modules available,
that it is wise to use the tar.gz files instead of rpms.

Is it easy to unstall one version of a module before installing
another one.

E.g. something like
python setup.py remove

I'm sorry, but I am very new to python and its resources.

In the gnu world, of course, one usually has "make uninstall"

Thanks for any information.

-sen1

On Fri, 28 Jul 2006, Charlie Moad wrote:

> What version of numpy are you using, and was it installed from source
> or package?
>
> On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Hello,
>>   I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
>> 
>> The system has python-2.4 installed
>> 
>> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
>> been added.
>> 
>> I am including the output of running
>> 
>> $ python setup.py install
>> 
>> Any help is appreciated.
>> 
>> -Thanks,
>>   -sen1
>> 
>> Output of above script:
>> 
>> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
>> DeprecationWarning: get_
>> numpy_include is deprecated, use get_include
>>DeprecationWarning)
>> running install
>> running build
>> running build_py
>> running build_ext
>> building 'matplotlib._ns_cntr' extension
>> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
>> -Wp,-D_FORTI
>> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
>> -fasynchronous-unwind-
>> tables -D_GNU_SOURCE -fPIC -fPIC
>> 
>> compile options:
>> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
>> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
>> extra options: '-DSCIPY=1'
>> gcc: src/_ns_cntr.c
>> src/_ns_cntr.c: In function 'Cntr_init':
>> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
>> this functi
>> on)
>> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
>> only once
>> src/_ns_cntr.c:1582: error: for each function it appears in.)
>> src/_ns_cntr.c: In function 'Cntr_init':
>> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
>> this functi
>> on)
>> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
>> only once
>> src/_ns_cntr.c:1582: error: for each function it appears in.)
>> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
>> -pipe -Wp,-D_F
>> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
>> -fasynchronous-unw
>> ind-tables -D_GNU_SOURCE -fPIC -fPIC
>> -I/usr/lib/python2.4/site-packages/numpy/co
>> re/include -I/usr/local/include -I/usr/include
>> -I. -I/usr/include/python2.4 -c s
>> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
>> failed with
>>   exit status 1
>> 
>> 
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share 
>> your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> 
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> 
>> 
>> 
>

-- 
  ---
  | Sheldon E. Newhouse|e-mail: [EMAIL PROTECTED]   |
  | Mathematics Department |   |
  | Michigan State University  | telephone: 517-355-9684|
  | E. Lansing, MI 48824-1027 USA  |   FAX: 517-432-1562|
  ---

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] installation problem

2006-07-28 Thread sen1

Hello,
 I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box

The system has python-2.4 installed

All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
been added.

I am including the output of running

$ python setup.py install

Any help is appreciated.

-Thanks,
 -sen1

Output of above script:

/usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
DeprecationWarning: get_
numpy_include is deprecated, use get_include
  DeprecationWarning)
running install
running build
running build_py
running build_ext
building 'matplotlib._ns_cntr' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTI
FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-
tables -D_GNU_SOURCE -fPIC -fPIC

compile options:
'-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
extra options: '-DSCIPY=1'
gcc: src/_ns_cntr.c
src/_ns_cntr.c: In function ‘Cntr_init’:
src/_ns_cntr.c:1582: error: ‘PyArray_SBYTE’ undeclared (first use in
this functi
on)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
src/_ns_cntr.c: In function ‘Cntr_init’:
src/_ns_cntr.c:1582: error: ‘PyArray_SBYTE’ undeclared (first use in
this functi
on)
src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
only once
src/_ns_cntr.c:1582: error: for each function it appears in.)
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
-pipe -Wp,-D_F
ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unw
ind-tables -D_GNU_SOURCE -fPIC -fPIC
-I/usr/lib/python2.4/site-packages/numpy/co
re/include -I/usr/local/include -I/usr/include
-I. -I/usr/include/python2.4 -c s
rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
failed with
 exit status 1
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users