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
232 stars 18 forks source link

New pandas 1.2.0 breaks compatibility with numpy #3

Closed tquid closed 5 months ago

tquid commented 3 years ago

pandas 1.2.0 came out today, and it breaks compatibility with numpy:

Traceback (most recent call last):
  File "/home/pi/solar-protocol/charge-controller/csv_datalogger.py", line 6, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.7/dist-packages/pandas/__init__.py", line 22, in <module>
    from pandas.compat.numpy import (
  File "/usr/local/lib/python3.7/dist-packages/pandas/compat/numpy/__init__.py", line 21, in <module>
    f"this version of pandas is incompatible with numpy < {_min_numpy_ver}\n"
ImportError: this version of pandas is incompatible with numpy < 1.16.5
your numpy version is 1.16.2.
Please upgrade numpy to >= 1.16.5 to use this pandas version
tquid commented 3 years ago

I tried uninstalling pandas and reinstalling with pandas==1.1.5 and that seems to do the trick, as a workaround.