473,809 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

segfault matplotlib with Python2.6

Has anyone run into the same problem I have? I used to run matplotlib
with Python2.5 and everything worked fine. Now I use Python2.6, and
everything falls apart.

I installed numpy, libpng, and freetype as required by matplotlib, and
the installation all went well. But when I try to plot even the
simplest stuff, ex:

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

It crashes, segmentation fault.
I tried changing the backend to Agg, TkAgg, GTKAgg in matplotlibrc and
it made no difference. Any suggestions or pointers would be
appreciated!

Thanks!
Nov 17 '08 #1
2 3110
On Mon, Nov 17, 2008 at 5:58 PM, Magdoll <ma*****@gmail. comwrote:
Has anyone run into the same problem I have? I used to run matplotlib
with Python2.5 and everything worked fine. Now I use Python2.6, and
everything falls apart.

I installed numpy, libpng, and freetype as required by matplotlib, and
the installation all went well. But when I try to plot even the
simplest stuff, ex:
And you installed the python 2.6 versions of those tools? I note that
matplotlib doesn't even provide a python 2.6 binary installer yet.
Did you compile them from source? What platform are you running on?

--
Jerry
Nov 17 '08 #2
I just compiled all of these from source. I'm installing them on
school Linux servers (most of them Fedora or RedHat I think), which
means I don't have root permission, so I basically have to install
everything under my home directory and hope that nothing
conflicts....mo st things worked up until now. Matplotlib installed
with no errors, but plotting attempts failed.

I'm a bit reluctant to go back to Python2.5, even though that would
probably solve all my compatibility issues, but I have started using
new syntax in Python2.6. When I first tried matplotlib with Python2.6
and it failed, I just went for gnuplot and it worked. But now I'm
using networkx which means plotting graphs requires matplotlib.
Thanks,
Magdoll

On Nov 17, 3:23*pm, "Jerry Hill" <malaclyp...@gm ail.comwrote:
On Mon, Nov 17, 2008 at 5:58 PM, Magdoll <magd...@gmail. comwrote:
Has anyone run into the same problem I have? I used to run matplotlib
with Python2.5 and everything worked fine. Now I use Python2.6, and
everything falls apart.
I installed numpy, libpng, and freetype as required by matplotlib, and
the installation all went well. But when I try to plot even the
simplest stuff, ex:

And you installed the python 2.6 versions of those tools? *I note that
matplotlib doesn't even provide a python 2.6 binary installer yet.
Did you compile them from source? *What platform are you running on?

--
Jerry
Nov 17 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1364
by: Mathias | last post by:
Dear NG, I need to draw a few images in the same window and found matplotlib to be a very nice tool for my needs (thanks for the hint!). But I have trouble installing matplotlib on RedHat9 - under XP it runs just fine. I updated all the indicated packages except the agg package which I didn't really understand. So output with default setting is: on linux2 Type "help", "copyright", "credits" or "license" for more information.
2
4858
by: Flavio | last post by:
I am trying to freeze an application which imports matplotlib. It all works fine on the machine where it was frozen. The executable runs without a glitch. But when I move the directory containing the frozen executable and other libs to a new machine, I get the following error: Traceback (most recent call last): File "/home/fccoelho/Downloads/cx_Freeze-3.0.2/initscripts/Console.py",
2
11658
by: Grant Edwards | last post by:
I downloaded examples/contour_demo.py, and it doesn't run. I've searched both the user guide and the Wiki for "contour" and got zero hits. http://matplotlib.sourceforge.net/matplotlib.pylab.html#-contour appears to be a good reference if you already know how to use contour(), but I could glean zero clues from it on how to actually use contour(). For example, it doesn't explain what the actual formats/types of the parameters. It...
1
3169
by: cesco | last post by:
Hi, I wanted to install python, numpy and matplotlib on Linux Ubuntu. I installed python with the following commands ../configure --enable-unicode=ucs4 make make install and then I installed numpy running python setup.py install Finally I came to matplotlib, that for the installation requires the
8
5844
by: Andi Clemens | last post by:
Hi, everytime I try to plot a bar with matplotlib I get the following error message: Traceback (most recent call last): File "bar_stacked.py", line 13, in ? p1 = bar(ind, menMeans, width, color='r', yerr=womenStd) File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 1641, in bar ret = gca().bar(*args, **kwargs)
0
2603
by: spross | last post by:
hi all i have to use matplotlib on mac os x. on the official site of matplotlib, i found a link to precompiled python packages for mac os x: http://pythonmac.org/packages/py24-fat/index.html so first, i installed python 2.4. that works great! if i type 'python' in the terminal, it loads python 2.4. after that, i loaded and installed the matplotlib package from this
1
3867
by: thorstenkranz | last post by:
Hi everyone, I'm new here and I have a question ( I guess as everybody who is new here ;-) ), I'm having some strange problem with Matplotlib, using it in a Tkinter application. I create a Canvas, a figure, subplot and then a toolbar. It works fine, but only without the toolbar! When I want to add the toolbar, I
4
3356
by: Bill Jackson | last post by:
Hi, I'm having some trouble plotting with the following matplotlibrc: text.usetex : True I tried clearing the cache files under ~/.matplotlib, but this did not help the problem. I'd post on the matplotlib mailing list, but I have a hard enough time browsing sourceforge's achives (frequent internal server errors). Here is some output:
2
3534
by: John | last post by:
I'm trying to install matplotlib and currently getting the below error. I searched the group and google and couldn't find anything similar... Any ideas? Thanks in advance! src/ft2font.cpp: In member function 'Py::Object Glyph::get_path(FT_FaceRec_* const&)': src/ft2font.cpp:441: error: 'FT_CURVE_TAG_CUBIC' was not declared in this scope
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10379
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9199
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.