microsoft / jericho

A learning environment for man-made Interactive Fiction games.
GNU General Public License v2.0
253 stars 42 forks source link

Latest 3.3 is broken on M1/m2 MacBooks. 3.1 is working. #73

Closed figmentc closed 1 month ago

figmentc commented 2 months ago

OSError: dlopen(/opt/homebrew/anaconda3/envs/textworld/lib/python3.9/site-packages/jericho/libfrotz.so, 0x0006): tried: '/opt/homebrew/anaconda3/envs/textworld/lib/python3.9/site-packages/jericho/libfrotz.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/anaconda3/envs/textworld/lib/python3.9/site-packages/jericho/libfrotz.so' (no such file), '/opt/homebrew/anaconda3/envs/textworld/lib/python3.9/site-packages/jericho/libfrotz.so' (not a mach-o file)

MarcCote commented 2 months ago

You mean 3.2 right? Install from pypi? Can you try cloning the repo and manually pip install it from the repo?

MarcCote commented 2 months ago

I believe I accidentally push the wheel that contains the shared library compiled under Linux. That's why it might be failing for MacOS. You can also try this

pip install --no-binary :all jericho
MarcCote commented 1 month ago

@figmentc any luck with that?

MarcCote commented 1 month ago

I have pushed a minor release (3.2.1) which doesn't include any Python wheels to force the compilation of library. Can you let me know if that works? @figmentc @gdrtodd

MarcCote commented 1 month ago

I got confirmation this was working now. Feel free to re-open if that didn't solve your issue.