René's URL Explorer Experiment


Title: Install on Windows using pkg-config from conda · Issue #13016 · matplotlib/matplotlib · GitHub

Open Graph Title: Install on Windows using pkg-config from conda · Issue #13016 · matplotlib/matplotlib

X Title: Install on Windows using pkg-config from conda · Issue #13016 · matplotlib/matplotlib

Description: The current way of installing from sources on Windows involves running the build_alllocal.cmd script which manually copies libz and libpng to the right location. Such approach doesn't work with e.g., pip install https:///matplo...

Open Graph Description: The current way of installing from sources on Windows involves running the build_alllocal.cmd script which manually copies libz and libpng to the right location. Such approach doesn't work with e.g...

X Description: The current way of installing from sources on Windows involves running the build_alllocal.cmd script which manually copies libz and libpng to the right location. Such approach doesn't work with...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install on Windows using pkg-config from conda","articleBody":"The current way of installing from sources on Windows involves running the `build_alllocal.cmd` script which manually copies `libz` and `libpng` to the right location. Such approach doesn't work with e.g.,\r\n```\r\npip install https://\u003csome-url\u003e/matplotlib.zip\r\n```\r\nwhere `matplotlib.zip` is the source distribution, taken e.g. from an open PR.\r\n\r\nAs far as I understand, on Linux this is solved by using `pkg-config`. On Windows, `pkg-config` can also be installed from the `msys2` channel which is now parts of the default channel, as,\r\n```\r\nconda install m2w64-pkg-config\r\n```\r\nsee https://github.com/conda-forge/pkg-config-feedstock/issues/11#issuecomment-292950444\r\nThis might help to detect the libpng/freetype libraries (I'm not fully sure), however in any case, install fails while linking libpng,\r\n\r\n\r\n```\r\n[...]\r\n  REQUIRED DEPENDENCIES AND EXTENSIONS\r\n    install_requires: yes [handled by setuptools]\r\n            freetype: yes [Using unknown version found on system.]\r\n                 png: yes [Using unknown version found on system.]\r\n[...]\r\n\r\nC:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\\ProgramData\\Miniconda3\\envs\\laserbeam-env\\Library\\lib /LIBPATH:C:\\ProgramData\\Miniconda3\\envs\\laserbeam-env\\libs /LIBPATH:C:\\ProgramData\\Miniconda3\\envs\\laserbeam-env\\PCbuild\\amd64 \"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\LIB\\amd64\" \"/LIBPATH:C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.10240.0\\ucrt\\x64\" \"/LIBPATH:C:\\Program Files (x86)\\Windows Kits\\8.1\\lib\\winv6.3\\um\\x64\" png.lib z.lib /EXPORT:PyInit__png build\\temp.win-amd64-3.7\\Release\\src/_png.obj build\\temp.win-amd64-3.7\\Release\\src/mplutils.obj /OUT:build\\lib.win-amd64-3.7\\matplotlib\\_png.cp37-win_amd64.pyd /IMPLIB:build\\temp.win-amd64-3.7\\Release\\src\\_png.cp37-win_amd64.lib\r\n    LINK : fatal error LNK1181: cannot open input file 'png.lib'\r\n    error: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\VC\\\\BIN\\\\x86_amd64\\\\link.exe' failed with exit status 1181\r\n```\r\nSee [detailed_log.txt](https://github.com/matplotlib/matplotlib/files/2691006/detailed_log.txt) for more details (this builds the https://github.com/matplotlib/matplotlib/pull/11577 PR)\r\n\r\n\r\nI'm wondering if this has anything to do with the fact that `PkgConfig.has_pkgconfig` is hardcoded to False in `setupext.py` when on Windows. \r\n\r\nOpening this issue to track the usage of pkg-config on windows.\r\n\r\n### Versions\r\n\r\n  * Operating system: Windows Server 2016 Datacenter\r\n  * Matplotlib version: master branch\r\n  * Python version: 3.7\r\n\r\nRelated: https://github.com/matplotlib/matplotlib/pull/9693","author":{"url":"https://github.com/rth","@type":"Person","name":"rth"},"datePublished":"2018-12-18T14:59:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/13016/matplotlib/issues/13016"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7b94a0e9-2182-23db-1815-56cd1b6e55ae
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id885E:3258B1:B644D2:F37A7F:6A52BA5F
html-safe-noncea4907dfa68349eddc3b699b19265ec5624287b7e9fb57a96e1d0c39d42fe9f48
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODVFOjMyNThCMTpCNjQ0RDI6RjM3QTdGOjZBNTJCQTVGIiwidmlzaXRvcl9pZCI6IjgxODM0NjE2NTM3MjM2OTUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb2fa46db7ec988a0d65d907c2931a1ab64c1ab9d4695b84db50817bb398e598e
hovercard-subject-tagissue:392194640
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/13016/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6575e0e16ca952d2250ae2dc763d12722f68feefe90b6d6e457b0bc33286e341/matplotlib/matplotlib/issues/13016
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6575e0e16ca952d2250ae2dc763d12722f68feefe90b6d6e457b0bc33286e341/matplotlib/matplotlib/issues/13016
og:image:altThe current way of installing from sources on Windows involves running the build_alllocal.cmd script which manually copies libz and libpng to the right location. Such approach doesn't work with e.g...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerth
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/13016#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F13016
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%2F13016
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/13016
Reloadhttps://github.com/matplotlib/matplotlib/issues/13016
Reloadhttps://github.com/matplotlib/matplotlib/issues/13016
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/13016
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/13016
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 408 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
Install on Windows using pkg-config from condahttps://github.com/matplotlib/matplotlib/issues/13016#top
Buildhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Build%22
OS: Microsofthttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Microsoft%22
https://github.com/rth
rthhttps://github.com/rth
on Dec 18, 2018https://github.com/matplotlib/matplotlib/issues/13016#issue-392194640
conda-forge/pkg-config-feedstock#11 (comment)https://github.com/conda-forge/pkg-config-feedstock/issues/11#issuecomment-292950444
detailed_log.txthttps://github.com/matplotlib/matplotlib/files/2691006/detailed_log.txt
#11577https://github.com/matplotlib/matplotlib/pull/11577
#9693https://github.com/matplotlib/matplotlib/pull/9693
Buildhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Build%22
OS: Microsofthttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Microsoft%22
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.