davidusb-geek / emhass

emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
MIT License
260 stars 51 forks source link

Numpy you should not try to import numpyu from its source directory #218

Closed Denna93 closed 3 months ago

Denna93 commented 3 months ago

Describe the bug Getting error message after I try to run newly installed EMHASS on Hassio

To Reproduce Just dowloading EMHASS from addon store and will everytime give me a error message when trying to start. Expected behavior A clear and concise description of what you expected to happen.

Screenshots Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/local/lib/python3.11/dist-packages/emhass/web_server.py", line 12, in import pandas as pd File "/usr/local/lib/python3.11/dist-packages/pandas/init.py", line 16, in raise ImportError( ImportError: Unable to import required dependencies: numpy: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.

Home Assistant installation type Home assistant Os

Your hardware RPI 4 4gb 32bit

EMHASS installation type Addon Additional context Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/local/lib/python3.11/dist-packages/emhass/web_server.py", line 12, in import pandas as pd File "/usr/local/lib/python3.11/dist-packages/pandas/init.py", line 16, in raise ImportError( ImportError: Unable to import required dependencies: numpy: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.

davidusb-geek commented 3 months ago

These problems on arm archs should be solved soon in the coming release.

davidusb-geek commented 3 months ago

All these issues should be solved now. Wait for the v0.8.3 to be available.