alexnathanson / solar-protocol

A repository in development for a solar powered network of servers that host a distributed web platform. Project by Tega Brain, Alex Nathanson and Benedetta Piantella. Supported by Eyebeam, Mozilla, and CS&S
http://solarprotocol.net
220 stars 19 forks source link

Installing deps doesn't work when using Python 3.10 #26

Open achou11 opened 1 year ago

achou11 commented 1 year ago

When running python3 -m pip install -r requirements.txt with Python 3.10.6, the following error occurs:

ERROR: Could not find a version that satisfies the requirement skia-python==87.1 (from versions: 87.4)
ERROR: No matching distribution found for skia-python==87.1

Looks like skia-python needs to be updated to https://github.com/kyamagu/skia-python/releases/tag/v87.4 in order to fix the issue. Doesn't seem like there should be any issues with doing so, so hopefully a straightforward fix

Alternatively, pin the Python version to < 3.10

achou11 commented 1 year ago

Similar issue with numpy it seems, where upgrading to 1.21.X is needed (although that may be a riskier change that will break other deps). probably best to pin the python version instead given this

achou11 commented 1 year ago

Decided to just run 3.9 instead for now, which seems to work as expected :)