Open TheAussieTinker opened 6 months ago
Hi, I have further info about this issue, this looks like a bad importing of pandas in line 18
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint_stats/init.py", line 18, in
import pandas as pd File "/home/pi/oprint/lib/python3.9/site-packages/pandas/init.py", line 19, 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. 2024-09-03 10:33:56,247 - octoprint.plugin.core - ERROR - Error loading plugin stats Traceback (most recent call last): File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugin/core.py", line 1297, in _import_plugin module = _load_module(module_name, spec) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugin/core.py", line 52, in _load_module return imp.load_module(name, f, filename, details) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/vendor/imp.py", line 238, in load_module return load_package(name, filename) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/vendor/imp.py", line 212, in load_package return _load(spec) File " ", line 711, in _load File " ", line 680, in _load_unlocked File " ", line 790, in exec_module File " ", line 228, in _call_with_framesremoved > File "/home/pi/oprint/lib/python3.9/site-packages/octoprint_stats/init.py", line 18, in import pandas as pd_ File "/home/pi/oprint/lib/python3.9/site-packages/pandas/init.py", line 19, 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.
Describe the bug I have octoprint setup on a raspberry pi and I have tried a few times to install the printer statistics plugin through the plugin manager and when octoprint restarts nothing appears
Environment information: