René's URL Explorer Experiment


Title: [Bug]: Cannot install on Debian (via mu-editor) - ERROR: ResolutionImpossible · Issue #22113 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: Cannot install on Debian (via mu-editor) - ERROR: ResolutionImpossible · Issue #22113 · matplotlib/matplotlib

X Title: [Bug]: Cannot install on Debian (via mu-editor) - ERROR: ResolutionImpossible · Issue #22113 · matplotlib/matplotlib

Description: Bug summary I'm trying to install mu-editor to write some code for a Pi Pico; mu-editor is based on Python, and apparently mathplotlib is a dependency. I cannot install mathplotlib on Debian 11 stable. It says dependencies freetype and p...

Open Graph Description: Bug summary I'm trying to install mu-editor to write some code for a Pi Pico; mu-editor is based on Python, and apparently mathplotlib is a dependency. I cannot install mathplotlib on Debian 11 sta...

X Description: Bug summary I'm trying to install mu-editor to write some code for a Pi Pico; mu-editor is based on Python, and apparently mathplotlib is a dependency. I cannot install mathplotlib on Debian 11...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22113

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Cannot install on Debian (via mu-editor) - ERROR: ResolutionImpossible","articleBody":"### Bug summary\n\nI'm trying to install mu-editor to write some code for a Pi Pico; mu-editor is based on Python, and apparently mathplotlib is a dependency. I cannot install mathplotlib on Debian 11 stable. It says dependencies `freetype` and `png` are not met. Please advise.\n\n### Code for reproduction\n\n```python\nDebian 11; Python 3.9.2; `sudo apt install python3-pip`; `pip3 install mu-editor`\n```\n\n\n### Actual outcome\n\n```\r\n...\r\nCollecting matplotlib==2.2.2\r\n  Downloading matplotlib-2.2.2.tar.gz (37.3 MB)\r\n     |████████████████████████████████| 37.3 MB 1.9 MB/s \r\n    ERROR: Command errored out with exit status 1:\r\n     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-wjosel1n/matplotlib_68b8d4a2fe554f09ab7aeb951168bcc1/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-wjosel1n/matplotlib_68b8d4a2fe554f09ab7aeb951168bcc1/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fg_514_s\r\n         cwd: /tmp/pip-install-wjosel1n/matplotlib_68b8d4a2fe554f09ab7aeb951168bcc1/\r\n    Complete output (62 lines):\r\n    ============================================================================\r\n    Edit setup.cfg to change the build options\r\n    \r\n    BUILDING MATPLOTLIB\r\n                matplotlib: yes [2.2.2]\r\n                    python: yes [3.9.2 (default, Feb 28 2021, 17:03:44)  [GCC\r\n                            10.2.1 20210110]]\r\n                  platform: yes [linux]\r\n    \r\n    REQUIRED DEPENDENCIES AND EXTENSIONS\r\n                     numpy: yes [version 1.19.5]\r\n          install_requires: yes [handled by setuptools]\r\n                    libagg: yes [pkg-config information for 'libagg' could not\r\n                            be found. Using local copy.]\r\n                  freetype: no  [The C/C++ header for freetype2 (ft2build.h)\r\n                            could not be found.  You may need to install the\r\n                            development package.]\r\n                       png: no  [pkg-config information for 'libpng' could not\r\n                            be found.]\r\n                     qhull: yes [pkg-config information for 'libqhull' could not\r\n                            be found. Using local copy.]\r\n    \r\n    OPTIONAL SUBPACKAGES\r\n               sample_data: yes [installing]\r\n                  toolkits: yes [installing]\r\n                     tests: no  [skipping due to configuration]\r\n            toolkits_tests: no  [skipping due to configuration]\r\n    \r\n    OPTIONAL BACKEND EXTENSIONS\r\n                    macosx: no  [Mac OS-X only]\r\n                    qt5agg: no  [PySide2 not found; PyQt5 not found]\r\n                    qt4agg: no  [PySide not found; PyQt4 not found]\r\n                   gtk3agg: yes [installing, version 3.24.24]\r\n    Traceback (most recent call last):\r\n      File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n      File \"/tmp/pip-install-wjosel1n/matplotlib_68b8d4a2fe554f09ab7aeb951168bcc1/setup.py\", line 197, in \u003cmodule\u003e\r\n        msg = pkg.install_help_msg()\r\n      File \"/tmp/pip-install-wjosel1n/matplotlib_68b8d4a2fe554f09ab7aeb951168bcc1/setupext.py\", line 592, in install_help_msg\r\n        release = platform.linux_distribution()[0].lower()\r\n    AttributeError: module 'platform' has no attribute 'linux_distribution'\r\n                 gtk3cairo: yes [installing, version 3.24.24]\r\n                    gtkagg: no  [Requires pygtk]\r\n                     tkagg: yes [installing; run-time loading from Python Tcl /\r\n                            Tk]\r\n                     wxagg: no  [requires wxPython]\r\n                       gtk: no  [Requires pygtk]\r\n                       agg: yes [installing]\r\n                     cairo: yes [installing, pycairo version 1.16.2]\r\n                 windowing: no  [Microsoft Windows only]\r\n    \r\n    OPTIONAL LATEX DEPENDENCIES\r\n                    dvipng: no\r\n               ghostscript: yes [version 9.53.3]\r\n                     latex: yes [version 3.14159265]\r\n                   pdftops: yes [version 20.09.0]\r\n    \r\n    OPTIONAL PACKAGE DATA\r\n                      dlls: no  [skipping due to configuration]\r\n    \r\n    ============================================================================\r\n                            * The following required packages can not be built:\r\n                            * freetype, png\r\n    ----------------------------------------\r\nWARNING: Discarding https://files.pythonhosted.org/packages/ec/ed/46b835da53b7ed05bd4c6cae293f13ec26e877d2e490a53a709915a9dcb7/matplotlib-2.2.2.tar.gz#sha256=4dc7ef528aad21f22be85e95725234c5178c0f938e2228ca76640e5e84d8cde8 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\nCollecting mu-editor\r\n  Downloading mu_editor-1.0.2-py3-none-any.whl (2.0 MB)\r\n     |████████████████████████████████| 2.0 MB 513 kB/s \r\nCollecting pyqt5==5.11.3\r\n  Downloading PyQt5-5.11.3-5.11.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (117.8 MB)\r\n     |████████████████████████████████| 117.8 MB 727 kB/s \r\nCollecting PyQtChart==5.11.3\r\n  Downloading PyQtChart-5.11.3-5.11.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (1.1 MB)\r\n     |████████████████████████████████| 1.1 MB 11.0 MB/s \r\nCollecting qscintilla==2.10.8\r\n  Downloading QScintilla-2.10.8-5.11.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (2.6 MB)\r\n     |████████████████████████████████| 2.6 MB 553 kB/s \r\nCollecting mu-editor\r\n  Downloading mu_editor-1.0.1-py3-none-any.whl (1.9 MB)\r\n     |████████████████████████████████| 1.9 MB 860 kB/s \r\nCollecting pyqt5==5.11.2\r\n  Downloading PyQt5-5.11.2-5.11.1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (117.9 MB)\r\n     |████████████████████████████████| 117.9 MB 2.1 MB/s \r\nCollecting PyQtChart==5.11.2\r\n  Downloading PyQtChart-5.11.2-5.11.1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (1.1 MB)\r\n     |████████████████████████████████| 1.1 MB 190.3 MB/s \r\nCollecting qscintilla==2.10.7\r\n  Downloading QScintilla-2.10.7-5.11.1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (2.6 MB)\r\n     |████████████████████████████████| 2.6 MB 3.3 MB/s \r\nCollecting mu-editor\r\n  Downloading mu_editor-1.0.0-py3-none-any.whl (1.7 MB)\r\n     |████████████████████████████████| 1.7 MB 1.9 MB/s \r\nERROR: Cannot install mu-editor==1.0.0, mu-editor==1.0.1, mu-editor==1.0.2 and mu-editor==1.0.3 because these package versions have conflicting dependencies.\r\n\r\nThe conflict is caused by:\r\n    mu-editor 1.0.3 depends on matplotlib==2.2.2\r\n    mu-editor 1.0.2 depends on matplotlib==2.2.2\r\n    mu-editor 1.0.1 depends on matplotlib==2.2.2\r\n    mu-editor 1.0.0 depends on matplotlib==2.2.2\r\n\r\nTo fix this you could try to:\r\n1. loosen the range of package versions you've specified\r\n2. remove package versions to allow pip attempt to solve the dependency conflict\r\n\r\nERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies\r\n```\n\n### Expected outcome\n\nshould install all dependencies as specified\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nDebian 11 (bullseye) ; Linux aleph 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux\n\n### Matplotlib Version\n\n2.2.2\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n3.9.2\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/Sciss","@type":"Person","name":"Sciss"},"datePublished":"2022-01-05T14:26:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/22113/matplotlib/issues/22113"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7b03ad79-d201-e32d-bb7c-cea0e649328e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE012:E7D9B:14DC7DE:1B990D8:6A51B976
html-safe-noncee0b45224c6e87a60ddfc9fc83dd75c514a64970e3b998bb8cff8e0d5a044ba95
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDEyOkU3RDlCOjE0REM3REU6MUI5OTBEODo2QTUxQjk3NiIsInZpc2l0b3JfaWQiOiIzMjU4NjMwMDkwNTYxNTM0MzI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacada86bcd358e3d42e66642cea30a3e0995fef2d342f0ed115fe102367bae0197
hovercard-subject-tagissue:1094408279
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/22113/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b29dfa4113cd5735272bf096f6243002d88c53df3850e4f2ef670a41d9cd40f2/matplotlib/matplotlib/issues/22113
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b29dfa4113cd5735272bf096f6243002d88c53df3850e4f2ef670a41d9cd40f2/matplotlib/matplotlib/issues/22113
og:image:altBug summary I'm trying to install mu-editor to write some code for a Pi Pico; mu-editor is based on Python, and apparently mathplotlib is a dependency. I cannot install mathplotlib on Debian 11 sta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSciss
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/22113#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F22113
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F22113
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/22113
Reloadhttps://github.com/matplotlib/matplotlib/issues/22113
Reloadhttps://github.com/matplotlib/matplotlib/issues/22113
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/22113
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/22113
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 409 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
[Bug]: Cannot install on Debian (via mu-editor) - ERROR: ResolutionImpossiblehttps://github.com/matplotlib/matplotlib/issues/22113#top
https://github.com/Sciss
Scisshttps://github.com/Sciss
on Jan 5, 2022https://github.com/matplotlib/matplotlib/issues/22113#issue-1094408279
#1https://github.com/matplotlib/matplotlib/pull/1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.