lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
154 stars 24 forks source link

On an M1 Mac, pip install fails due to a hard dependency on a non-existing pygame version #78

Open dcbb opened 1 year ago

dcbb commented 1 year ago

This is based on #77, but it's probably better to have a dedicated issue. This is a summary of the discussion of #77.

It looks like the wheel file which pip install wasabi2d downloads contains requirements which cannot be satisfied, at least not on an M1 (arm) Mac. Specifically, install fails due to the following dependency, which does not exist: pygame==2.0.0.dev10

I was able to install Wasabi2d by doing the following:

However, with this workaround, I encountered an exception in the add_label(...) function, due to a variable that was a 1-element numpy array rather than a float scalar. Probably this error is caused by loosened package requirements as nobody else seems to have reported it.

Alan3344 commented 12 months ago

+1 Win11 Python3.11.5