SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
2
(3)
3
(5)
4
5
6
7
8
9
10
(6)
11
(1)
12
(1)
13
14
15
16
(3)
17
(7)
18
(21)
19
(3)
20
(7)
21
22
23
(1)
24
(3)
25
(9)
26
(3)
27
(7)
28
(1)
29
30
(2)





Showing 5 results of 5

From: alifar76 <Ali...@uc...> - 2013年09月03日 21:41:03
Hi everyone!
I'm trying to build matplotlib 1.1.0 using Python-2.7.3 on CentOS 6.4. I
constantly keep getting the following error:
/usr/bin/ld: /usr/local/lib/libpython2.7.a(parsetok.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Can anyone please advice on what is going on and how I can resolve the
issue? Thanks a lot.
Regards,
Ali
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Error-in-building-Matplotlib-tp41968.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.
From: Benjamin R. <ben...@ou...> - 2013年09月03日 20:02:57
On Mon, Sep 2, 2013 at 12:27 AM, Filipe Saraiva <ma...@fi...>wrote:
> Hello,
>
> First, thanks for this great library.
>
> My name is Filipe Saraiva, I am developing a python backend for Cantor,
> the KDE mathematical software. More infos can be read in
> http://blog.filipesaraiva.info/?tag=gsoc2013-python-backend (in
> portuguese and english).
>
> Currently I have a problem when I try import pyplot in Cantor. I am using
> Python 2.7.5 and matplotlib 1.3.0. The error is below:
>
> import matplotlib.pyplot as plt
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 98,
> in <module>
> _backend_mod, new_figure_manager, draw_if_interactive, _show =
> pylab_setup()
> File
> "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line
> 25, in pylab_setup
> globals(),locals(),[backend_name])
> File
> "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py",
> line 19, in <module>
> _decref = ctypes.pythonapi.Py_DecRef
> File "/usr/lib64/python2.7/ctypes/__init__.py", line 378, in __getattr__
> func = self.__getitem__(name)
> File "/usr/lib64/python2.7/ctypes/__init__.py", line 383, in __getitem__
> func = self._FuncPtr((name_or_ordinal, self))
> AttributeError: kde/bin/cantor: undefined symbol: Py_DecRef
>
> Well, anyone have any idea about how can I fix it?
>
> Thank you,
>
>
My only guess is that there is some sort of linking/build error. Perhaps
the python-qt4 library was built and linked against a different python on
your system?
Cheers!
Ben Root
From: Patrick M. <pat...@gm...> - 2013年09月03日 18:28:15
Sorry if this is a double post; used the wrong email in the first reply and
got at least one failure notice...
This is terminal IPython and IPython Notebook. (I noticed it first in the
IPython Notebook). The backends are the same in both Python and IPython
(and IPython Notebook). I have not changed any of the default IPython
settings.
I'm wondering if this is a path issue of some sorts...namely IPython is
picking up an old version of geos that I cannot seem to find. At least this
is the angle I'm currently trying to work on. I should add that I've remove
all my manually installed modules and "started over". I built Numpy,
Matplotlib, Basemap, and then IPython (in that order), and still have the
same segfault issue.
Patrick
On Tue, Sep 3, 2013 at 1:15 PM, MinRK <ben...@gm...> wrote:
> This is terminal IPython?
>
> Is there a chance that the matplotlib backend is different in each case?
> Have you enabled matplotlib eventloop integration in IPython (otherwise, it
> will block when you draw a plot).
>
>
> On Tue, Sep 3, 2013 at 9:36 AM, Patrick Marsh <pat...@gm...>wrote:
>
>> Hi, All,
>>
>> I'm not sure what is going on, but the following fails in IPython
>> (terminal and notebook) but works just fine in regular Python.
>>
>> I'm using OS X 10.8.4; git master for git master for Matplotlib
>> (a091f6d), IPython (9f92804), and Basemap (1d7664c); and geos version 3.4.2
>> (built by Homebrew).
>>
>> The following script will work from a Python prompt but fails (segfaults)
>> from the IPython prompt. After doing some digging it appears that the
>> segfault occurs when accessing some of the methods associated with the
>> generated geos module (_geoslib.so). I've rolled back to previous versions
>> of everything and I still have the same issues.
>>
>> What I cannot figure out is why this would work with a pure Python
>> interpreter, but fail in the IPython console.
>>
>>
>> =====
>> import matplotlib.pyplot as plt
>> from mpl_toolkits.basemap import Basemap
>>
>> m = Basemap() # This is where the segfault occurs
>>
>> m.drawcoastlines()
>> plt.show()
>> =====
>>
>>
>> I originally posted this on the IPython Users list and got no response,
>> so I thought I would try here before posting a bug on both IPython and
>> Basemap's Github issue trackers.
>>
>>
>> Thanks for any help or ideas on fixing this issue, or at least on how to
>> track down this issue...
>>
>>
>> Patrick
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPy...@sc...
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPy...@sc...
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
From: MinRK <ben...@gm...> - 2013年09月03日 18:15:37
This is terminal IPython?
Is there a chance that the matplotlib backend is different in each case?
Have you enabled matplotlib eventloop integration in IPython (otherwise, it
will block when you draw a plot).
On Tue, Sep 3, 2013 at 9:36 AM, Patrick Marsh <pat...@gm...>wrote:
> Hi, All,
>
> I'm not sure what is going on, but the following fails in IPython
> (terminal and notebook) but works just fine in regular Python.
>
> I'm using OS X 10.8.4; git master for git master for Matplotlib (a091f6d),
> IPython (9f92804), and Basemap (1d7664c); and geos version 3.4.2 (built by
> Homebrew).
>
> The following script will work from a Python prompt but fails (segfaults)
> from the IPython prompt. After doing some digging it appears that the
> segfault occurs when accessing some of the methods associated with the
> generated geos module (_geoslib.so). I've rolled back to previous versions
> of everything and I still have the same issues.
>
> What I cannot figure out is why this would work with a pure Python
> interpreter, but fail in the IPython console.
>
>
> =====
> import matplotlib.pyplot as plt
> from mpl_toolkits.basemap import Basemap
>
> m = Basemap() # This is where the segfault occurs
>
> m.drawcoastlines()
> plt.show()
> =====
>
>
> I originally posted this on the IPython Users list and got no response, so
> I thought I would try here before posting a bug on both IPython and
> Basemap's Github issue trackers.
>
>
> Thanks for any help or ideas on fixing this issue, or at least on how to
> track down this issue...
>
>
> Patrick
>
> _______________________________________________
> IPython-dev mailing list
> IPy...@sc...
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
From: Patrick M. <pat...@gm...> - 2013年09月03日 16:37:36
Hi, All,
I'm not sure what is going on, but the following fails in IPython (terminal
and notebook) but works just fine in regular Python.
I'm using OS X 10.8.4; git master for git master for Matplotlib (a091f6d),
IPython (9f92804), and Basemap (1d7664c); and geos version 3.4.2 (built by
Homebrew).
The following script will work from a Python prompt but fails (segfaults)
from the IPython prompt. After doing some digging it appears that the
segfault occurs when accessing some of the methods associated with the
generated geos module (_geoslib.so). I've rolled back to previous versions
of everything and I still have the same issues.
What I cannot figure out is why this would work with a pure Python
interpreter, but fail in the IPython console.
=====
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap
m = Basemap() # This is where the segfault occurs
m.drawcoastlines()
plt.show()
=====
I originally posted this on the IPython Users list and got no response, so
I thought I would try here before posting a bug on both IPython and
Basemap's Github issue trackers.
Thanks for any help or ideas on fixing this issue, or at least on how to
track down this issue...
Patrick

Showing 5 results of 5

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





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

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

More information about our ad policies

Ad destination/click URL:

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