From: Marjolaine R. <mro...@cs...> - 2008-05-30 08:25:50
|
Hi, I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? Thanks. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. |
From: Marjolaine R. <mro...@cs...> - 2008-06-17 07:58:20
|
Hi, I have tried reinstalling python-matplotlib and python-matplotlib-data as well as reinstalling python-gtk2 and none of this proposed solutions work. Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could you guys let me know which repositories you use and I could try and upgrade my ubuntu to one of new repositories lists? Thank -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. |
From: Johan M. <joh...@gm...> - 2008-06-17 08:15:30
|
Hi I am working with matplotlib 0.91.3 on Hardy. I installed it (with "pyhton setup.py build" and "pyhton setup.py install") from the source given on SourceForge. And it's working perfectly. Are you sure that you installed all the needed packages ? (Check with "pyhton setup.py build" and see wether there is no missing packages, especially development packages) NB : My matplotlib work without development packages from tkinter despite the fact that there are asked. Regards Johan 2008/6/17 Marjolaine Rouault <mro...@cs...>: > Hi, > > I have tried reinstalling python-matplotlib and python-matplotlib-data as > well as reinstalling python-gtk2 and none of this proposed solutions work. > Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could > you guys let me know which repositories you use and I could try and upgrade > my ubuntu to one of new repositories lists? > > Thank > > > > -- > This message is subject to the CSIR's copyright terms and conditions, > e-mail legal notice, and implemented Open Document Format (ODF) standard. > The full disclaimer details can be found at > http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, > and is believed to be clean. MailScanner thanks Transtec Computers for > their support. > > > ------------------------------------------------------------------------- > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Lionel R. <lro...@li...> - 2008-06-17 08:31:21
|
Don't sure last matplotlib version (and numpy) is in Hardy repositories. Here we do : 1- sudo apt-get --purge remove python-numpy* python-matplotlib* python-scipy* 2- manually remove all related folders under site-packages (with eggs!) 3- download and install manually numpy, scipy and matplotlib (and basemap) Le mardi 17 juin 2008, Marjolaine Rouault a écrit : > Hi, > > I have tried reinstalling python-matplotlib and python-matplotlib-data as > well as reinstalling python-gtk2 and none of this proposed solutions work. > Still stuck unfortunately. I am thinking maybe my ubuntu is not right. > Could you guys let me know which repositories you use and I could try and > upgrade my ubuntu to one of new repositories lists? > > Thank -- Lionel Roubeyrie - lro...@li... Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr |
From: Marjolaine R. <mro...@cs...> - 2008-06-17 10:40:14
|
Dear Johan, I have downloaded the matplotlib 0.91.2 version (the one installed by default by my package manager) and ran the python setup.py build as you suggested before running the python setup.py install command. I fixed the problem! I am so grateful for you helping me sort this out finally. I am looking forwards to start using matplotlib. Cheers, marjolaine. >>> "Johan Mazel" <joh...@gm...> 06/17/08 10:15 AM >>> Hi I am working with matplotlib 0.91.3 on Hardy. I installed it (with "pyhton setup.py build" and "pyhton setup.py install") from the source given on SourceForge. And it's working perfectly. Are you sure that you installed all the needed packages ? (Check with "pyhton setup.py build" and see wether there is no missing packages, especially development packages) NB : My matplotlib work without development packages from tkinter despite the fact that there are asked. Regards Johan 2008/6/17 Marjolaine Rouault <mro...@cs...>: > Hi, > > I have tried reinstalling python-matplotlib and python-matplotlib-data as > well as reinstalling python-gtk2 and none of this proposed solutions work. > Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could > you guys let me know which repositories you use and I could try and upgrade > my ubuntu to one of new repositories lists? > > Thank > > > > -- > This message is subject to the CSIR's copyright terms and conditions, > e-mail legal notice, and implemented Open Document Format (ODF) standard. > The full disclaimer details can be found at > http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, > and is believed to be clean. MailScanner thanks Transtec Computers for > their support. > > > ------------------------------------------------------------------------- > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. |
From: Johan M. <joh...@gm...> - 2008-06-17 11:20:11
|
Hi The thing is that if you installed the package matplotlib through your package manager, you are not supposed and you don't need to install it manually from the sources with the two commands I gave you. The main interest of using the source of 0.91.3 is to use a debugged version of the 0.91 release. In fact, the package 0.91.2 that you can get from your package manager still have some bugs. But maybe, you are using the 0.91.3 version since you typed "pyhton setup.py build" and "pyhton setup.py install" in the source directory (despite of the fact that you previously installed a matplotlib package). I'm not good enough in Linux to tell what is the behaviour of the system in this case. Anyway, good for you if it's actually working. :) Regards Johan 2008/6/17 Marjolaine Rouault <mro...@cs...>: > Dear Johan, > > I have downloaded the matplotlib 0.91.2 version (the one installed by > default by my package manager) and ran the python setup.py build as you > suggested before running the python setup.py install command. I fixed the > problem! I am so grateful for you helping me sort this out finally. I am > looking forwards to start using matplotlib. > > Cheers, marjolaine. > > >>> "Johan Mazel" <joh...@gm...> 06/17/08 10:15 AM >>> > Hi > I am working with matplotlib 0.91.3 on Hardy. I installed it (with "pyhton > setup.py build" and "pyhton setup.py install") from the source given on > SourceForge. And it's working perfectly. > Are you sure that you installed all the needed packages ? (Check with > "pyhton setup.py build" and see wether there is no missing packages, > especially development packages) > NB : My matplotlib work without development packages from tkinter despite > the fact that there are asked. > Regards > Johan > > 2008/6/17 Marjolaine Rouault <mro...@cs...>: > > > Hi, > > > > I have tried reinstalling python-matplotlib and python-matplotlib-data as > > well as reinstalling python-gtk2 and none of this proposed solutions > work. > > Still stuck unfortunately. I am thinking maybe my ubuntu is not right. > Could > > you guys let me know which repositories you use and I could try and > upgrade > > my ubuntu to one of new repositories lists? > > > > Thank > > > > > > > > -- > > This message is subject to the CSIR's copyright terms and conditions, > > e-mail legal notice, and implemented Open Document Format (ODF) standard. > > The full disclaimer details can be found at > > http://www.csir.co.za/disclaimer.html. > > > > This message has been scanned for viruses and dangerous content by > > MailScanner, > > and is believed to be clean. MailScanner thanks Transtec Computers for > > their support. > > > > > > ------------------------------------------------------------------------- > > 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 > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > -- > This message is subject to the CSIR's copyright terms and conditions, > e-mail legal notice, and implemented Open Document Format (ODF) standard. > The full disclaimer details can be found at > http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, > and is believed to be clean. MailScanner thanks Transtec Computers for > their support. > > |
From: Michael D. <md...@st...> - 2008-05-30 12:11:51
|
I don't see this myself. Are you running the correct Python (not accidentally running Python2.4, for example)? Do you have a /usr/lib/python2.5/site-packages/matplotlib directory? What is the exact error message when you import pylab? Cheers, Mike Marjolaine Rouault wrote: > Hi, > > I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? > > Thanks. > > > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
From: Marjolaine R. <mro...@cs...> - 2008-05-30 13:23:12
|
hi I am running python 2.5 and installing the matplotlib using synaptic so it is installing the correct version (I assume). After installing matplotlib, In the help(), this is what i get when asking for the modules liist: File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site.py", line 342, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib/python2.5/pydoc.py", line 1649, in __call__ self.interact() File "/usr/lib/python2.5/pydoc.py", line 1667, in interact self.help(request) File "/usr/lib/python2.5/pydoc.py", line 1683, in help elif request == 'modules': self.listmodules() File "/usr/lib/python2.5/pydoc.py", line 1804, in listmodules ModuleScanner().run(callback) File "/usr/lib/python2.5/pydoc.py", line 1855, in run for importer, modname, ispkg in pkgutil.walk_packages(): File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages for item in walk_packages(path, name+'.', onerror): File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages __import__(name) File "/usr/lib/python2.5/site-packages/matplotlib/config/__init__.py", line 5, in <module> from rcparams import rc File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 117, in <module> rcParams = rc_params() File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 49, in rc_params fname = get_config_file() File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 181, in get_config_file path = get_data_path() # guaranteed to exist or raise File "/usr/lib/python2.5/site-packages/matplotlib/config/verbose.py", line 74, in wrapper ret = func(*args, **kwargs) File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 129, in _get_data_path_cached defaultParams['datapath'][0] = _get_data_path() File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 125, in _get_data_path raise RuntimeError('Could not find the matplotlib data files') RuntimeError: Could not find the matplotlib data files if I try import pylab, this is what I get: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 208, in <module> from matplotlib import mpl # pulls in most modules File "/usr/lib/python2.5/site-packages/matplotlib/mpl.py", line 4, in <module> from matplotlib import axes File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 18, in <module> from matplotlib import dates as mdates File "/usr/lib/python2.5/site-packages/matplotlib/dates.py", line 91, in <module> from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \ ImportError: No module named dateutil.rrule >>> Michael Droettboom <md...@st...> 05/30/08 2:11 PM >>> I don't see this myself. Are you running the correct Python (not accidentally running Python2.4, for example)? Do you have a /usr/lib/python2.5/site-packages/matplotlib directory? What is the exact error message when you import pylab? Cheers, Mike Marjolaine Rouault wrote: > Hi, > > I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? > > Thanks. > > > > -- -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. |
From: Michael D. <md...@st...> - 2008-05-30 14:21:59
|
I'm somewhat grasping at straws here: the Ubuntu-packaged matplotlib works for me on Hardy. Thanks. Ubuntu puts the matplotlib data files in a separate package, python-matplotlib-data. That *should* have installed automatically alongside python-matplotlib, but you may want to try forcing that: sudo apt-get install python-matplotlib-data If that fails, try reinstalling both python-matplotlib and python-matplotlib-data. sudo apt-get install --reinstall python-matplotlib The second error also seems like another instance of the same: the python-dateutil package should be installed. Cheers, Mike Marjolaine Rouault wrote: > hi > > I am running python 2.5 and installing the matplotlib using synaptic so it is installing the correct version (I assume). After installing matplotlib, In the help(), this is what i get when asking for the modules liist: > > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.5/site.py", line 342, in __call__ > return pydoc.help(*args, **kwds) > File "/usr/lib/python2.5/pydoc.py", line 1649, in __call__ > self.interact() > File "/usr/lib/python2.5/pydoc.py", line 1667, in interact > self.help(request) > File "/usr/lib/python2.5/pydoc.py", line 1683, in help > elif request == 'modules': self.listmodules() > File "/usr/lib/python2.5/pydoc.py", line 1804, in listmodules > ModuleScanner().run(callback) > File "/usr/lib/python2.5/pydoc.py", line 1855, in run > for importer, modname, ispkg in pkgutil.walk_packages(): > File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages > for item in walk_packages(path, name+'.', onerror): > File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages > __import__(name) > File "/usr/lib/python2.5/site-packages/matplotlib/config/__init__.py", line 5, in <module> > from rcparams import rc > File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 117, in <module> > rcParams = rc_params() > File "/usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py", line 49, in rc_params > fname = get_config_file() > File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 181, in get_config_file > path = get_data_path() # guaranteed to exist or raise > File "/usr/lib/python2.5/site-packages/matplotlib/config/verbose.py", line 74, in wrapper > ret = func(*args, **kwargs) > File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 129, in _get_data_path_cached > defaultParams['datapath'][0] = _get_data_path() > File "/usr/lib/python2.5/site-packages/matplotlib/config/cutils.py", line 125, in _get_data_path > raise RuntimeError('Could not find the matplotlib data files') > RuntimeError: Could not find the matplotlib data files > > > if I try import pylab, this is what I get: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in <module> > from matplotlib.pylab import * > File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 208, in <module> > from matplotlib import mpl # pulls in most modules > File "/usr/lib/python2.5/site-packages/matplotlib/mpl.py", line 4, in <module> > from matplotlib import axes > File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 18, in <module> > from matplotlib import dates as mdates > File "/usr/lib/python2.5/site-packages/matplotlib/dates.py", line 91, in <module> > from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \ > ImportError: No module named dateutil.rrule > > > > > >>>> Michael Droettboom <md...@st...> 05/30/08 2:11 PM >>> >>>> > I don't see this myself. Are you running the correct Python (not > accidentally running Python2.4, for example)? Do you have a > /usr/lib/python2.5/site-packages/matplotlib directory? What is the > exact error message when you import pylab? > > Cheers, > Mike > > Marjolaine Rouault wrote: > >> Hi, >> >> I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? >> >> Thanks. >> >> >> >> >> > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
From: Georg H. <gr...@mu...> - 2008-05-30 19:00:28
|
Hallo! > I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? I had the same problem today. However, in my case gtk was missing and I fixed it with installing apt-get install python-gtk2 LG Georg |