Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to install on MinGW when setuptools >= 60 #7224

Merged
merged 1 commit into from Jun 22, 2023

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jun 22, 2023

Resolves #7222

Screenshot 2023-06-22 at 6 32 33 pm

@hugovk
Copy link
Member

hugovk commented Jun 22, 2023

Shall we add this as a .. Note::?

@radarhere
Copy link
Member Author

I've updated the initial post to include a screenshot of the current version.

Here's how it looks as a note - it's minor, so we can go with it if you want, but I think the smaller code within the note compared to the surrounding code highlights looks odd?

Screenshot 2023-06-22 at 6 32 40 pm

@hugovk
Copy link
Member

hugovk commented Jun 22, 2023

Okay, let's keep it like this. Thank you!

@hugovk hugovk merged commit 1f7e67c into python-pillow:main Jun 22, 2023
8 checks passed
@radarhere radarhere deleted the mingw branch June 22, 2023 09:45
@MAjeRoK
Copy link

MAjeRoK commented Mar 19, 2024

I want to add the information how to set up the variable SETUPTOOLS_USE_DISTUTILS in PowerShell Windows:
$env:SETUPTOOLS_USE_DISTUTILS="stdlib"
It helped me with this MSYS2 issue

@radarhere
Copy link
Member Author

It seems very similar to what we have documented here? I would have thought it was a relatively simple matter for users to translate export SETUPTOOLS_USE_DISTUTILS=stdlib to $env:SETUPTOOLS_USE_DISTUTILS="stdlib"?

@MAjeRoK
Copy link

MAjeRoK commented Mar 20, 2024

Yes. It is true. I just want to prevent the mistake I did.

Firstly I used command SET for PowerShell and the terminal didn't say anything wrong. So I tried pip and the package wasn't installed. And I thought that this solution isn't for me and spent another one hour trying to find the right solution.

Only by a coincidence I figured out that SET works in cmd and not in PowerShell. That is why I left a comment with the right command for PowerShell

@radarhere
Copy link
Member Author

Oh, I thought you were suggesting that we update the documentation at https://pillow.readthedocs.io/en/stable/installation.html.

If you just wanted to leave that comment here, sure, no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot install from pip on Msys2 mingw64
3 participants