torressa / cspy

A collection of algorithms for the (Resource) Constrained Shortest Path problem in Python / C++ / C#
https://torressa.github.io/cspy/
MIT License
77 stars 24 forks source link

macOS 10.14: Can't install 1.0.0 #76

Closed juforg closed 3 years ago

juforg commented 3 years ago

Describe the bug A clear and concise description of what the bug is. image

Desktop (please complete the following information):

torressa commented 3 years ago

Hmm.. The wheel is definitely there for macOS 10.15 + Python 3.7 (hoping it will be compatible with your macOS 10.14)

Before we try anything else, first can you try upgrading pip

pip install --upgrade pip

If that doesn't work can you try download the cp37 wheel and installing directly

pip install cspy-1.0.0-cp37-cp37m-macosx_10_15_x86_64.whl
juforg commented 3 years ago

ERROR: cspy-1.0.0-cp37-cp37m-macosx_10_15_x86_64.whl is not a supported wheel on this platform.

torressa commented 3 years ago

Just added macos-10.14 to the release workflow but I think the minimum is 10.15 in github actions (https://github.com/torressa/cspy/runs/2716108521#step:1:4)

You're gonna have to build from source if you wan't to use this package as I don't have access to a macOS machine. The dependencies are listed in the README and once you have them installed you can do

make python
pip install build/python/
juforg commented 3 years ago

ok, i will upgrade my macOS, but maybe you should add another version macos-11 https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners image

torressa commented 3 years ago

I've just tried that but as it says in the notice under that table they are not accepting any new macos-11 jobs