-
Notifications
You must be signed in to change notification settings - Fork 441
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
Packaged Numpy wheel in macOS installer is only OS X 10.14+ compatible #2120
Comments
Possible Solutions❌ Would deleting the wheel zip file inside the Mu installation directory be a possible workaround?If the wheels zip file is deleted Mu tries to download the latest ❌ What if we add the
|
Okay, so I think we have two options:
I think option 1) is a significant change on how the user venv dependencies are picked and installed, perhaps too much of a change to rush it in the last minute before v1.2.0. Not because the change is large in number of lines, but because it's a different way to specify dependency versions (pinning vs. min version has a lot of pros and cons). For option 2) the only dependency that haven't got wheels in PyPI is So my proposal is:
An alternative proposal, which I think it's still worth pursuing, but not for tonight, would be to update Mu so that if installing wheels from the zip file fails, it can try again but this time ignoring the zip file and downloading the wheels again. |
Problem
The main Mu dependency restricting macOS compatibility is PyQt5. As we are currently using v5.13, so it should be compatible with macOS Sierra 10.12 and newer: https://doc.qt.io/archives/qt-5.13/macos.html
Currently the Mu installers download a numpy wheel for the user venv as a dependency for pygamezero and qtconsole.
With Python 3.8 in a modern macOS pip will download the latest Numpy which is only compatible wit macOS 10.14 Mojave and newer. So users with older OS versions are seeing errors like this one:
User Workaround
We can delete the packaged wheels included with Mu, which will force Mu to download them again.
To do this run the following command on a terminal (assuming Mu was installed in the Applications folder):
Then launch Mu and this time it should work.
If Mu crashes again we would really appreciated if you could submit a new Crash Report letting us know you tried this workaround, as that will help us revole the issue. Thanks!
The text was updated successfully, but these errors were encountered: