Title: setupext.py needs more --prefix · Issue #3821 · matplotlib/matplotlib · GitHub
Open Graph Title: setupext.py needs more --prefix · Issue #3821 · matplotlib/matplotlib
X Title: setupext.py needs more --prefix · Issue #3821 · matplotlib/matplotlib
Description: When using Anaconda, but installing matplotlib from source, using the tkagg backend can result in a segfault or sometimes just simply an exception with no figure shown. After some investigation, the root cause was that the build of _tkag...
Open Graph Description: When using Anaconda, but installing matplotlib from source, using the tkagg backend can result in a segfault or sometimes just simply an exception with no figure shown. After some investigation, th...
X Description: When using Anaconda, but installing matplotlib from source, using the tkagg backend can result in a segfault or sometimes just simply an exception with no figure shown. After some investigation, th...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3821
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"setupext.py needs more --prefix","articleBody":"When using Anaconda, but installing matplotlib from source, using the tkagg backend can result in a segfault or sometimes just simply an exception with no figure shown. After some investigation, the root cause was that the build of _tkagg.so was being built and linked against the system's Tk/Tcl libraries and headers. However, when backend_tkagg.py imports Tkinter, it is importing Anaconda's build of the library, which conflicts with the compiled _tkagg.so, leading to errors.\n\nIt appears that the matplotlib conda recipe works around this issue by brute-forcing a replacement of every instance of \"/usr/local/\" with the Anaconda's prefix location in the setupext.py. I think we can do better than that, and make available a proper set of command-line options for various prefixes and such. And of course, to be uniform with the application of --prefix throughout setupext.py.\n","author":{"url":"https://github.com/WeatherGod","@type":"Person","name":"WeatherGod"},"datePublished":"2014-11-21T02:28:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/3821/matplotlib/issues/3821"}
| 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:e6e6026e-1462-e51d-b282-951fb4e60058 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B10:C81EF:1BA69:254D7:6A524B2B |
| html-safe-nonce | b8262f3c235225c753b951a417a624d5999ef11786828a1802654e8dc3fd9c2f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjEwOkM4MUVGOjFCQTY5OjI1NEQ3OjZBNTI0QjJCIiwidmlzaXRvcl9pZCI6IjU3ODEzNjA2NjMyMzEzNTE1OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c9d854abec658c3eac969410b265053a3bb70894226c1f8cbf6266d9fdca09f |
| hovercard-subject-tag | issue:49644800 |
| 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/3821/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47f06a37b14b92e5ef0793130b8de305b247cec5f28018a9eb4c526f8a85d2a3/matplotlib/matplotlib/issues/3821 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47f06a37b14b92e5ef0793130b8de305b247cec5f28018a9eb4c526f8a85d2a3/matplotlib/matplotlib/issues/3821 |
| og:image:alt | When using Anaconda, but installing matplotlib from source, using the tkagg backend can result in a segfault or sometimes just simply an exception with no figure shown. After some investigation, th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | WeatherGod |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width