You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
change the in the following lines in info/METADATA (showing my new lines here with less restrictive requirement):
Requires-Dist: pygame (>=2.0.0)
Requires-Dist: mapbox-earcut (>=0.12.10)
This one crashed on install due missing cmake, i.e. it did not find a precompiled version 0.12.10 for my system, presumably because I'm on an M1 Macbook.
wheel pack everything back together
pip install the repacked wheel
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.
The text was updated successfully, but these errors were encountered:
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:
wheel unpack
the fileinfo/METADATA
(showing my new lines here with less restrictive requirement):Requires-Dist: pygame (>=2.0.0)
Requires-Dist: mapbox-earcut (>=0.12.10)
0.12.10
for my system, presumably because I'm on an M1 Macbook.wheel pack
everything back togetherpip install
the repacked wheelHowever, with this workaround, I encountered an exception in the
add_label(...)
function, due to a variable that was a 1-elementnumpy
array rather than afloat
scalar. Probably this error is caused by loosened package requirements as nobody else seems to have reported it.The text was updated successfully, but these errors were encountered: