DimaKudosh / pydfs-lineup-optimizer

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
MIT License
416 stars 156 forks source link

MIP Solver error #416

Open akayer19 opened 1 year ago

akayer19 commented 1 year ago

Is anyone else getting a MIPSolver error? This has worked in the past (last year) on MacOS, intel processor. Tried reinstalling MIP and downloaded a fresh copy of the optimizer.

An error occurred while loading the CBC library: cannot load library '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mip/libraries/cbc-c-darwin-x86-64.dylib': dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mip/libraries/cbc-c-darwin-x86-64.dylib, 2): Symbol not found: ____chkstk_darwin Referenced from: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mip/libraries/cbc-c-darwin-x86-64.dylib (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mip/libraries/cbc-c-darwin-x86-64.dylib. Additionally, ctypes.util.find_library() did not manage to locate a library called '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mip/libraries/cbc-c-darwin-x86-64.dylib'

BenikaH commented 1 year ago

Do you have the binary local relative to your code? How are you initializing the solver?