Segmentation fault (core dumped) using matplotlib on Ubuntu Mate 16.04Segmentation fault (core dumped) after...
Multiplication via squaring and addition
CBP Reminds Travelers to Allow 72 Hours for ESTA. Why?
How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider
Equivalent to "source" in OpenBSD?
Why might Google Analytics report a sudden, but persistent, drop in bounce rate (70% to 12%)
Should I choose Itemized or Standard deduction?
How do I construct an nxn matrix?
Make me a metasequence
Auto Insert date into Notepad
I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?
What is a term for a function that when called repeatedly, has the same effect as calling once?
Why does the author believe that the central mass that gas cloud HCN-0.009-0.044 orbits is smaller than our solar system?
If nine coins are tossed, what is the probability that the number of heads is even?
Can this function be rewritten with a regex?
Closure of presentable objects under finite limits
I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
As a new poet, where can I find help from a professional to judge my work?
Exponential growth/decay formula: what happened to the other constant of integration?
What is this waxed root vegetable?
How to speed up a process
Waiting for the gravy at a dinner table
What can I substitute for soda pop in a sweet pork recipe?
Segmentation fault (core dumped) using matplotlib on Ubuntu Mate 16.04
Segmentation fault (core dumped) after 16.04 upgradeFILEZILLA not working after upgrade from ubuntu 15.10 to ubuntu 16.04Unable to install matplotlib using pip in Ubuntu 16.04Ubuntu 16.04 xrdp issue: programs do not run remotelysegmentation fault(core dumped)17.10 Error were encountered while processing python-olefilencdu failed to install, with error “Segmentation fault (core dumped)”Install OpenCL on ubuntu 16.04, Intel i5 7th gen Dell Inspiron LaptopSegmentation fault (core dumped) w_scanProblem in installing matplotlib ubuntu 16.04
I recently installed on my machine (an old imac) Ubuntu Mate 16.04. When I try to run a python script from terminal I get the error:
Segmentation fault (core dumped)
The same script works perfectly in other machines and used to work well in my machine when it mounted Xubuntu 14.04.
This is probably a problem with python in Ubuntu Mate 16.04 and in particular with matplotlib: my script gives me the error when trying to draw a plot using pyplot.
Other python scripts that don't use matplotlib work perfectly.
According to my terminal, matplotlib is the newest version (1.5.1-1ubuntu1).
python 16.04 ubuntu-mate matplotlib
add a comment |
I recently installed on my machine (an old imac) Ubuntu Mate 16.04. When I try to run a python script from terminal I get the error:
Segmentation fault (core dumped)
The same script works perfectly in other machines and used to work well in my machine when it mounted Xubuntu 14.04.
This is probably a problem with python in Ubuntu Mate 16.04 and in particular with matplotlib: my script gives me the error when trying to draw a plot using pyplot.
Other python scripts that don't use matplotlib work perfectly.
According to my terminal, matplotlib is the newest version (1.5.1-1ubuntu1).
python 16.04 ubuntu-mate matplotlib
add a comment |
I recently installed on my machine (an old imac) Ubuntu Mate 16.04. When I try to run a python script from terminal I get the error:
Segmentation fault (core dumped)
The same script works perfectly in other machines and used to work well in my machine when it mounted Xubuntu 14.04.
This is probably a problem with python in Ubuntu Mate 16.04 and in particular with matplotlib: my script gives me the error when trying to draw a plot using pyplot.
Other python scripts that don't use matplotlib work perfectly.
According to my terminal, matplotlib is the newest version (1.5.1-1ubuntu1).
python 16.04 ubuntu-mate matplotlib
I recently installed on my machine (an old imac) Ubuntu Mate 16.04. When I try to run a python script from terminal I get the error:
Segmentation fault (core dumped)
The same script works perfectly in other machines and used to work well in my machine when it mounted Xubuntu 14.04.
This is probably a problem with python in Ubuntu Mate 16.04 and in particular with matplotlib: my script gives me the error when trying to draw a plot using pyplot.
Other python scripts that don't use matplotlib work perfectly.
According to my terminal, matplotlib is the newest version (1.5.1-1ubuntu1).
python 16.04 ubuntu-mate matplotlib
python 16.04 ubuntu-mate matplotlib
edited Apr 30 '16 at 16:04
Vale
asked Apr 29 '16 at 11:14
ValeVale
2317
2317
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It could be related to the backend you are using.
Here you can find how to get a list of avaliable backends.
To use a backend just call matplotlib.use("chosen-backend") at the start of your script.
Alternatively I suggest to try and use virtualenv and install all packages (including matplotlib) locally, using pip.
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
add a comment |
As suggested above, you can change the chosen-backend or install qt5 as suggested in these issues 1 and 2. Installing qt5 worked for me.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f764895%2fsegmentation-fault-core-dumped-using-matplotlib-on-ubuntu-mate-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It could be related to the backend you are using.
Here you can find how to get a list of avaliable backends.
To use a backend just call matplotlib.use("chosen-backend") at the start of your script.
Alternatively I suggest to try and use virtualenv and install all packages (including matplotlib) locally, using pip.
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
add a comment |
It could be related to the backend you are using.
Here you can find how to get a list of avaliable backends.
To use a backend just call matplotlib.use("chosen-backend") at the start of your script.
Alternatively I suggest to try and use virtualenv and install all packages (including matplotlib) locally, using pip.
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
add a comment |
It could be related to the backend you are using.
Here you can find how to get a list of avaliable backends.
To use a backend just call matplotlib.use("chosen-backend") at the start of your script.
Alternatively I suggest to try and use virtualenv and install all packages (including matplotlib) locally, using pip.
It could be related to the backend you are using.
Here you can find how to get a list of avaliable backends.
To use a backend just call matplotlib.use("chosen-backend") at the start of your script.
Alternatively I suggest to try and use virtualenv and install all packages (including matplotlib) locally, using pip.
edited May 23 '17 at 12:39
Community♦
1
1
answered May 13 '16 at 14:32
cecconeuralececconeurale
463
463
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
add a comment |
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
This solved my problem. I had to change the backend AND remove the extension from the file name of the plot that I was trying to save. I can't choose the figures' format now, but at least they get saved.
– Vale
May 13 '16 at 17:17
add a comment |
As suggested above, you can change the chosen-backend or install qt5 as suggested in these issues 1 and 2. Installing qt5 worked for me.
add a comment |
As suggested above, you can change the chosen-backend or install qt5 as suggested in these issues 1 and 2. Installing qt5 worked for me.
add a comment |
As suggested above, you can change the chosen-backend or install qt5 as suggested in these issues 1 and 2. Installing qt5 worked for me.
As suggested above, you can change the chosen-backend or install qt5 as suggested in these issues 1 and 2. Installing qt5 worked for me.
answered 11 mins ago
Rahul PatelRahul Patel
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f764895%2fsegmentation-fault-core-dumped-using-matplotlib-on-ubuntu-mate-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown