dema-trading-ai / engine

https://docs.dematrading.ai
GNU Affero General Public License v3.0
46 stars 11 forks source link

[ENG-55] Fix Mac build error #512

Closed sheridavandenbent closed 2 years ago

sheridavandenbent commented 2 years ago

A test PR to see if the mac build currently works on the development branch

WillemGerritzen commented 2 years ago

PyInstaller runs a check to make sure libraries it wants to use are for the correct architecture. For some reason, it gets confused when a wheel is marked universal2 (in this case scipy 1.8.0) and crashes assuming the library is for the wrong architecture. Given scipy 1.7.3 provides separate wheels for arm64 and x86_64 (meaning pip can safely fetch the appropriate wheel), this will have to do until PyInstaller is updated.