Title: macosx backend won't load · Issue #11846 · matplotlib/matplotlib · GitHub
Open Graph Title: macosx backend won't load · Issue #11846 · matplotlib/matplotlib
X Title: macosx backend won't load · Issue #11846 · matplotlib/matplotlib
Description: Bug report #11600 (3479481) appears to have broken the macosx backend. % git checkout 34794819d8 % cd lib % git clean -xdf % cd .. % pip install -e . % pythonw testMac.py Traceback (most recent call last): File "testMac.py", line 3, in <...
Open Graph Description: Bug report #11600 (3479481) appears to have broken the macosx backend. % git checkout 34794819d8 % cd lib % git clean -xdf % cd .. % pip install -e . % pythonw testMac.py Traceback (most recent cal...
X Description: Bug report #11600 (3479481) appears to have broken the macosx backend. % git checkout 34794819d8 % cd lib % git clean -xdf % cd .. % pip install -e . % pythonw testMac.py Traceback (most recent cal...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11846
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macosx backend won't load ","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n#11600 (34794819d8) appears to have broken the macosx backend. \r\n\r\n```\r\n% git checkout 34794819d8\r\n% cd lib\r\n% git clean -xdf\r\n% cd ..\r\n% pip install -e .\r\n% pythonw testMac.py\r\n\r\nTraceback (most recent call last):\r\n File \"testMac.py\", line 3, in \u003cmodule\u003e\r\n import matplotlib.pyplot as plt\r\n File \"/Users/jklymak/matplotlib/lib/matplotlib/pyplot.py\", line 2410, in \u003cmodule\u003e\r\n switch_backend(rcParams[\"backend\"])\r\n File \"/Users/jklymak/matplotlib/lib/matplotlib/pyplot.py\", line 246, in switch_backend\r\n backend_mod = importlib.import_module(backend_name)\r\n File \"/Users/jklymak/anaconda3/envs/matplotlibdev/lib/python3.6/importlib/__init__.py\", line 126, in import_module\r\n return _bootstrap._gcd_import(name[level:], package, level)\r\n File \"/Users/jklymak/matplotlib/lib/matplotlib/backends/backend_macosx.py\", line 14, in \u003cmodule\u003e\r\n from matplotlib.backends import _macosx\r\nImportError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.\r\n```\r\n\r\n```python \r\nimport matplotlib\r\nmatplotlib.use('macosx')\r\n```\r\n\r\nNo error on the previous commit (f4ae5d1ccb). #11600 had a bunch of changes in the `_src/macosx.h`.... ","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2018-08-12T17:50:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/11846/matplotlib/issues/11846"}
| 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:9940dc1e-0d14-e651-b07e-433519847883 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E238:312602:1016F20:1647961:6A55CF67 |
| html-safe-nonce | ccdec830abc9de42460c50a7043aa4dd3c285eec550c6bd4fb0d7f3dae83c433 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjM4OjMxMjYwMjoxMDE2RjIwOjE2NDc5NjE6NkE1NUNGNjciLCJ2aXNpdG9yX2lkIjoiNTQ2OTA5ODI5MTQ5NjM0MTM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac1add0eb45c151bf973dac0e7db68abdd461cec333413e2491acdd10036ea2e |
| hovercard-subject-tag | issue:349831017 |
| 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/11846/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00f3ce95a9bc35220c101020c1a1a8a5332b3bbd59da0c5cf7d5dd259338fced/matplotlib/matplotlib/issues/11846 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00f3ce95a9bc35220c101020c1a1a8a5332b3bbd59da0c5cf7d5dd259338fced/matplotlib/matplotlib/issues/11846 |
| og:image:alt | Bug report #11600 (3479481) appears to have broken the macosx backend. % git checkout 34794819d8 % cd lib % git clean -xdf % cd .. % pip install -e . % pythonw testMac.py Traceback (most recent cal... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width