Title: Invalid DISPLAY variable · Issue #3466 · matplotlib/matplotlib · GitHub
Open Graph Title: Invalid DISPLAY variable · Issue #3466 · matplotlib/matplotlib
X Title: Invalid DISPLAY variable · Issue #3466 · matplotlib/matplotlib
Description: In my AWS Ubuntu 14.02 instance I installed the matplotlib dependencies and then via pip I installed matplotlib: sudo apt-get build-dep python-matplotlib sudo pip install matplotlib sudo pip freeze: matplotlib==1.4.0 in a brand new file ...
Open Graph Description: In my AWS Ubuntu 14.02 instance I installed the matplotlib dependencies and then via pip I installed matplotlib: sudo apt-get build-dep python-matplotlib sudo pip install matplotlib sudo pip freeze...
X Description: In my AWS Ubuntu 14.02 instance I installed the matplotlib dependencies and then via pip I installed matplotlib: sudo apt-get build-dep python-matplotlib sudo pip install matplotlib sudo pip freeze...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3466
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid DISPLAY variable","articleBody":"In my AWS Ubuntu 14.02 instance I installed the matplotlib dependencies and then via pip I installed matplotlib:\n\nsudo apt-get build-dep python-matplotlib\n\nsudo pip install matplotlib\n\nsudo pip freeze:\nmatplotlib==1.4.0\n\nin a brand new file plotting1.py I wrote:\n# !/usr/bin/python\n\nfrom pylab import *\nplot([1,2,3])\nshow()\n\nafter typying chmod +x plotting1.py, I executed the little script:\n\ntime python plotting1.py\nTraceback (most recent call last):\nFile \"plotting1.py\", line 4, in\nplot([1,2,3])\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py\", line 3086, in plot\nax = gca()\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py\", line 827, in gca\nax = gcf().gca(*_kwargs)\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py\", line 461, in gcf\nreturn figure()\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py\", line 434, in figure\n*_kwargs)\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4ag g.py\", line 47, in new_figure_manager\nreturn new_figure_manager_given_figure(num, thisFig)\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4ag g.py\", line 54, in new_figure_manager_given_figure\ncanvas = FigureCanvasQTAgg(figure)\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4ag g.py\", line 72, in init\nFigureCanvasQT.init(self, figure)\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4.p y\", line 68, in init\n_create_qApp()\nFile \"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.p y\", line 139, in _create_qApp\nraise RuntimeError('Invalid DISPLAY variable')\nRuntimeError: Invalid DISPLAY variable\n\nreal 0m0.404s\nuser 0m0.284s\n\nWhat do I have to do now?\n\nLooking forward to your kind help.\nKind regards.\nMarco\n","author":{"url":"https://github.com/marcoippolito","@type":"Person","name":"marcoippolito"},"datePublished":"2014-09-04T05:59:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/3466/matplotlib/issues/3466"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b379dda0-286c-24ba-b6cf-1b0c458e642a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D852:38AA01:1CDA412:29CF080:6A54F5EC |
| html-safe-nonce | 0a177a5c10457e048d592e925c28a87b0941633f933125738718afe408a488ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODUyOjM4QUEwMToxQ0RBNDEyOjI5Q0YwODA6NkE1NEY1RUMiLCJ2aXNpdG9yX2lkIjoiNjMzOTQ5Njk4OTEwNjE3MzQyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96e5a9a0178dde3b01ae11f94bcc0e664768a401dbc0f295e40270f5f736b542 |
| hovercard-subject-tag | issue:41897860 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3466/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b0ae56d308be9b9abeead2f1005789e472a71125d9aac1e586e4ce170b928cd/matplotlib/matplotlib/issues/3466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b0ae56d308be9b9abeead2f1005789e472a71125d9aac1e586e4ce170b928cd/matplotlib/matplotlib/issues/3466 |
| og:image:alt | In my AWS Ubuntu 14.02 instance I installed the matplotlib dependencies and then via pip I installed matplotlib: sudo apt-get build-dep python-matplotlib sudo pip install matplotlib sudo pip freeze... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcoippolito |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd26d3896747463b6bd56edd5e290edb595c3cbc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width