StefaE / PVForecast

Forecasts to optimize electricity consumption for rooftop PV (photo-voltaic) installations
GNU General Public License v3.0
57 stars 13 forks source link

Dependency Issues scipy / numpy #11

Closed ACETyr closed 2 years ago

ACETyr commented 2 years ago

/usr/local/lib/python3.7/dist-packages/scipy/init.py:149: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.16.2

Upgrading numpy to 1.16.5 creates issues with panda

Upgraded to numpy 1.19.2 which should work accoirding to documentation but pandas complains about missing dependencies.

Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import pandas as pd Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packages/pandas/init.py", line 19, in "Missing required dependencies {0}".format(missing_dependencies)) ImportError: Missing required dependencies ['numpy']

StefaE commented 2 years ago

Hmm ... I was following the Pandas installation guide, which for Debian (which is basically what you have on a Raspi) references sudo apt-get install python3-pandas.

Depending where you are ... at a given point, my notes also said that I've run sudo apt remove python-numpy to get to a clean sheet.

I guess general Linux forums and/or Stack Overflow are better places to help you here ... :-(

StefaE commented 2 years ago

Closing as I'm not sure I can help further ... :-(