question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Location warning messages for MSYS2

See original GitHub issue

cc @rupanshu1710 @stephan-cr @mitchellmebane

Opening a new one for this so the discussion doesn’t get drowned by reports for other platforms. I’ve set up MSYS2 but am confused a bit how I should proceed (having only limited experience with the platform). MSYS2 seems to be multiple Python packages. Do you know how those (e.g. python and mingw-w64-python) are different? Which one are you using?

https://github.com/pypa/pip/issues/10151#issuecomment-886185018 https://github.com/pypa/pip/issues/10151#issuecomment-888288679 https://github.com/pypa/pip/issues/10151#issuecomment-888647104

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Aug 8, 2021

I’m keeping everything in the source code; each issue I’ve reported (but yet to be fixed) have a comment in pip/_internal/locations/__init__.py linking to an issue somewhere.

1reaction
uranusjrcommented, Aug 8, 2021

Thanks for the information! I tried pacman -S mingw-w64-x86_64-python; it did not give a working python command, but I was able to locate the package detail on MSYS2’s index. Things work after I added /mingw64/bin to PATH.

So this seems like a distributor bug. MSYS2 patches distutils and sysconfig to provide a POSIX-like scheme (the default scheme would be something like {prefix}/Lib/site-packages on Windows). But their patch on sysconfig is incorrectly omitting the site-packages part. So the warning is correct, and we need MSYS2 to fix this.

I browsed around the site and it seems like MINGW package bugs should be reported to https://github.com/msys2/MINGW-packages. I’ll submit an entry there and see how things go. If any of ya’ll happen to know a better place to raise this issue, please tell me as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Porting - MSYS2
When installing MSYS2, the user selects the root folder. POSIX software has a habit of baking the installation paths into the packages at...
Read more >
Error message from configure - Google Groups
Hi, I am trying to build a MSW configuration of wxWidgets 3.1.1 using MinGW. I normally use Visual Studio for Windows builds, ...
Read more >
MSYS2-installer failed on Windows 10 64-bit #1896 - GitHub
Error message is: installer error error during installation process (com.msys2.root.base): Execution failed (Unexpected exit code: 1): ...
Read more >
Certificate error when trying to install MSYS2 packages on ...
MSYS2 has been partially installed with Ruby 2.7, but did not complete due to certificates error messages. I first downloaded and install msys2...
Read more >
Microsoft Windows Installation, Updating, and Removal - WRcad
However, Win32 packages will not be updated by MINGW packages, and may be installed in the same location, causing file conflicts. WARNING
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found