DrInfy / sc2-pathlib

Pathfinding and terrain analysis library for Starcraft 2 bot api in Rust
MIT License
13 stars 9 forks source link

Are there any possibilities to use this library on armx64 processors, to be specific on M1 chips? #38

Open Barissevilmis opened 1 year ago

Barissevilmis commented 1 year ago

I would like to implement pathing algorithm on my SC2 Deep RL Agent, and trying to import library I get error:

Traceback (most recent call last): File "", line 1, in ImportError: dlopen(/Users/barissevilmis/Desktop/SC2/python-sc2/sc2pathlib.so, 0x0002): tried: '/Users/barissevilmis/Desktop/SC2/python-sc2/sc2pathlib.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/barissevilmis/Desktop/SC2/python-sc2/sc2pathlib.so' (no such file), '/Users/barissevilmis/Desktop/SC2/python-sc2/sc2pathlib.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

I am working on M1 chip Mac and currently able to work with the SC2 tools after spending a lot of hours to arrange my conda environment for python 3.7.16 and solve all the issues. I prevailed and currently training my agent

craigham commented 1 year ago

@Barissevilmis wondering if you have the steps necessary to get this library working on the M1? Was trying to get the sharpy-sc2 project working.

thanks, craig