Re: [Matplotlib-users] installation problem

2014-07-04 Thread Goyo
2014-07-04 8:30 GMT+02:00 Rachana Katkam katkam.rach...@gmail.com:
 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 g...@outlook.com 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 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 goyod...@gmail.com wrote:

 2014-07-04 8:30 GMT+02:00 Rachana Katkam katkam.rach...@gmail.com:
  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
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 katkam.rach...@gmail.com
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 goyod...@gmail.com wrote:

 2014-07-04 8:30 GMT+02:00 Rachana Katkam katkam.rach...@gmail.com:
  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 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-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


[Matplotlib-users] installation problem

2014-04-29 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 pyshell#6, line 1, in module
import matplotlib
  File E:\programs\python 3.2.3\lib\site-packages\matplotlib\__init__.py,
line 112, in module
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

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 stamgol...@gmail.com 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 pyshell#6, line 1, in module
 import matplotlib
   File E:\programs\python
 3.2.3\lib\site-packages\matplotlib\__init__.py, line 112, in module
 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


Re: [Matplotlib-users] installation problem on Mac

2011-06-16 Thread Russell E. Owen
In article BANLkTi=bj2vgaycqwclk+ksz_qeqm-4...@mail.gmail.com,
 Rebecca Gray atlas...@gmail.com 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 stdin, line 1, in module
  File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylab.py,
line 1, in module
from matplotlib.pylab import *
  File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pylab.py,
line 220, in module
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 module
from matplotlib import artist
  File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py,
line 6, in module
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 module
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
[matplotlib.lines.Line2D object at 0x019DE430]
 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 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=100url=/
 ___
 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=100url=/
___
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=100url=/
___
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=100url=/
___
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=100url=/
 ___
 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=100url=/
___
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=100url=/
 ___
 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=100url=/
___
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=100url=/___
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=100url=/
___
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/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


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 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 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


[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 module
from pylab import *
File C:\python251\Lib\site-packages\pylab.py, line 1, in module
from matplotlib.pylab import *
File c:\python251\lib\site-packages\matplotlib\pylab.py, line 222, in
modul
e
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 module
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
FigureCan
vasGTK,\
File C:\python251\Lib\site-packages\matplotlib\backends\backend_gtk.py,
line
6, in module
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: 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


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.phpp=sourceforgeCID=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 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/ORR(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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users