Cannot install plugging on manual raspbian install

What is the problem?

I have followed the manual install steps on this page: Setting up OctoPrint on a Raspberry Pi running Raspbian or Raspberry Pi OS

However, some of the plugging such as Telegram and Bed Level Visualizer do not appear to install. Issue appears to be dependencies are not installed

What did you already try to solve it?

WRITE HERE

Have you tried running in safe mode?

WRITE HERE

Did running in safe mode solve the problem?

WRITE HERE

Complete Logs

2021-01-17 11:15:44,045 - octoprint.startup - INFO - ******************************************************************************
2021-01-17 11:15:44,047 - octoprint.startup - INFO - Starting OctoPrint 1.5.2
2021-01-17 11:15:44,048 - octoprint.startup - INFO - ******************************************************************************
2021-01-17 11:15:44,637 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online
2021-01-17 11:15:44,762 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2021-01-17 11:15:44,762 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is working
2021-01-17 11:15:44,763 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2021-01-17 11:15:44,784 - octoprint.startup - INFO - Blacklist processing done, adding 12 blacklisted plugin versions: roomtemp (any), GcodeEditor (0.1.1), GcodeEditor (0.2.0), GcodeEditor (0.2.1), GcodeEditor (0.2.2), GcodeEditor (0.2.3), GcodeEditor (0.2.4), GcodeEditor (0.2.5), GcodeEditor (0.2.6), GcodeEditor (0.2.8), gcodeleveling (0.1.0), gcodeleveling (0.1.1)
2021-01-17 11:15:44,839 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2021-01-17 11:15:46,224 - octoprint.plugin.core - ERROR - Error loading plugin telegram
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugin/core.py", line 1298, in _import_plugin
module = _load_module(module_name, spec)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugin/core.py", line 69, in _load_module
return imp.load_module(name, f, filename, details)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
File "", line 696, in _load
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_telegram/init.py", line 3, in
from PIL import Image
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/PIL/Image.py", line 94, in
from . import _imaging as core
ImportError: libtiff.so.5: cannot open shared object file: No such file or directory
2021-01-17 11:15:46,325 - octoprint.plugin.core - ERROR - Error loading plugin bedlevelvisualizer
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/numpy/core/init.py", line 22, in
from . import multiarray
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/numpy/core/multiarray.py", line 12, in
from . import overrides
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/numpy/core/overrides.py", line 7, in
from numpy.core._multiarray_umath import (
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugin/core.py", line 1298, in _import_plugin
module = _load_module(module_name, spec)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugin/core.py", line 69, in _load_module
return imp.load_module(name, f, filename, details)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
File "", line 696, in _load
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_bedlevelvisualizer/init.py", line 9, in
import numpy as np
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/numpy/init.py", line 140, in
from . import core
File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/numpy/core/init.py", line 48, in
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.7 from "/home/pi/OctoPrint/venv/bin/python3"
  • The NumPy version is: "1.19.2"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory

2021-01-17 11:15:46,418 - octoprint.plugin.core - INFO - Found 17 plugin(s) providing 17 mixin implementations, 34 hook handlers
2021-01-17 11:15:46,569 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2021-01-17 11:15:46,579 - octoprint.server - INFO - Intermediary server started
2021-01-17 11:15:46,612 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2021-01-17 11:15:46,614 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2021-01-17 11:15:46,618 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: "Need(method='role', value='plugin_action_command_notification_show')")
2021-01-17 11:15:46,619 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: "Need(method='role', value='plugin_action_command_notification_clear')")
2021-01-17 11:15:46,620 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: "Need(method='role', value='plugin_action_command_prompt_interact')")
2021-01-17 11:15:46,620 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")
2021-01-17 11:15:46,621 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_read'), Need(method='role', value='plugin_announcements_manage')")
2021-01-17 11:15:46,622 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")
2021-01-17 11:15:46,623 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: "Need(method='role', value='plugin_backup_access')")
2021-01-17 11:15:46,623 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")
2021-01-17 11:15:46,626 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")
2021-01-17 11:15:46,628 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: "Need(method='role', value='plugin_pi_support_check')")
2021-01-17 11:15:46,630 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")
2021-01-17 11:15:46,632 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: "Need(method='role', value='plugin_pluginmanager_install'), Need(method='role', value='plugin_pluginmanager_manage')")
2021-01-17 11:15:46,633 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")
2021-01-17 11:15:46,635 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")
2021-01-17 11:15:46,636 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: "Need(method='role', value='plugin_softwareupdate_configure')")
2021-01-17 11:15:46,820 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2021-01-17 11:15:47,831 - octoprint.util.pip - INFO - Using "/home/pi/OctoPrint/venv/bin/python3 -m pip" as command to invoke pip
2021-01-17 11:15:48,830 - octoprint.util.pip - INFO - Version of pip is 20.3.3
2021-01-17 11:15:48,832 - octoprint.util.pip - INFO - pip installs to /home/pi/OctoPrint/venv/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2021-01-17 11:15:48,833 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-01-17 11:15:48,881 - octoprint.plugin.core - INFO - Initialized 17 plugin implementation(s)
2021-01-17 11:15:48,898 - octoprint.plugin.core - INFO - 17 plugin(s) registered with the system:
| Action Command Notification Support (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/action_command_notification
| Action Command Prompt Support (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/corewizard
| Discovery (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/errortracking
| File Check (2020.8.7) (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_file_check
| Firmware Check (2020.9.23) (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_firmware_check
| GCode Viewer (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/gcodeviewer
| Logging (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/logging
| Pi Support Plugin (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/pluginmanager
| Software Update (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2021-01-17 11:15:48,936 - octoprint.environment - INFO - Detected environment is Python 3.7.3 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 1200.0
| ram: 915722240
| os:
| bits: 32
| id: linux
| platform: linux
| plugins:
| pi_support:
| model: Raspberry Pi 3 Model B Rev 1.2
| throttle_state: '0x0'
| python:
| pip: 20.3.3
| version: 3.7.3
| virtualenv: /home/pi/OctoPrint/venv
2021-01-17 11:15:48,952 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2021-01-17 11:15:48,977 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2021-01-17 11:15:49,824 - octoprint.server - INFO - Shutting down intermediary server...
2021-01-17 11:15:50,094 - octoprint.server - INFO - Intermediary server shut down
2021-01-17 11:15:50,098 - octoprint.events - INFO - Processing startup event, this is our first event
2021-01-17 11:15:50,098 - octoprint.events - INFO - Adding 2 events to queue that were held back before startup event
2021-01-17 11:15:50,099 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2021-01-17 11:15:50,107 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2021-01-17 11:15:50,110 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2021-01-17 11:15:50,117 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2021-01-17 11:15:50,122 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay.json
2021-01-17 11:15:50,153 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2021-01-17 11:15:50,497 - octoprint.plugins.tracking - INFO - Sent tracking event system_unthrottled, payload: {'throttled_now': False, 'throttled_past': False, 'throttled_mask': 0, 'throttled_voltage_now': False, 'throttled_voltage_past': False, 'throttled_overheat_now': False, 'throttled_overheat_past': False}
2021-01-17 11:15:51,030 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on ender3._http._tcp.local.' for _http._tcp.local.
2021-01-17 11:15:51,889 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on ender3._octoprint._tcp.local.' for _octoprint._tcp.local.
2021-01-17 11:15:51,917 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on ender3 for SSDP
2021-01-17 11:15:52,046 - octoprint.server - INFO - Listening on http://0.0.0.0:5000 and http://[::]:5000
2021-01-17 11:15:52,216 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2021-01-17 11:15:52,467 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-01-17 11:15:53,316 - octoprint.util.pip - INFO - Using "/home/pi/OctoPrint/venv/bin/python3 -m pip" as command to invoke pip
2021-01-17 11:15:53,317 - octoprint.util.pip - INFO - pip installs to /home/pi/OctoPrint/venv/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2021-01-17 11:15:53,318 - octoprint.util.pip - INFO - ==> pip ok -> yes
2021-01-17 11:15:53,336 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 5.2GB. That is considered sufficient for updating.
2021-01-17 11:15:53,865 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 7}
2021-01-17 11:15:54,147 - octoprint.plugins.tracking - INFO - Sent tracking event pong, payload: {'version': '1.5.2', 'os': 'linux', 'bits': 32, 'python': '3.7.3', 'pip': '20.3.3', 'cores': 4, 'freq': 1200.0, 'ram': 915722240, 'pi_model': 'Raspberry Pi 3 Model B Rev 1.2', 'plugins': ''}
2021-01-17 11:15:54,272 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://ender3.local:5000/', 'path': '/', 'query_string': 'l10n=en'}
2021-01-17 11:15:54,434 - octoprint.plugins.tracking - INFO - Sent tracking event startup, payload: {'version': '1.5.2', 'os': 'linux', 'bits': 32, 'python': '3.7.3', 'pip': '20.3.3', 'cores': 4, 'freq': 1200.0, 'ram': 915722240, 'pi_model': 'Raspberry Pi 3 Model B Rev 1.2'}
2021-01-17 11:15:54,586 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2021-01-17 11:16:00,311 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.82
2021-01-17 11:16:00,445 - octoprint.server.util.flask - INFO - Passively logging in user octo from 192.168.0.82
2021-01-17 11:16:00,446 - octoprint.access.users - INFO - Logged in user: octo
2021-01-17 11:16:00,504 - octoprint.server.util.sockjs - INFO - User octo logged in on the socket from client 192.168.0.82
2021-01-17 11:16:06,543 - octoprint.server.preemptive_cache - INFO - ... done in 12.27s
2021-01-17 11:16:45,928 - octoprint.server.util.flask - INFO - Passively logging in user octo from 192.168.0.82
2021-01-17 11:16:45,929 - octoprint.access.users - INFO - Logged in user: octo
2021-01-17 11:16:46,048 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.0.82
2021-01-17 11:16:46,513 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.0.82
2021-01-17 11:16:46,538 - octoprint.server.util.flask - INFO - Passively logging in user octo from 192.168.0.82
2021-01-17 11:16:46,538 - octoprint.access.users - INFO - Logged in user: octo
2021-01-17 11:16:47,196 - octoprint.server.util.sockjs - INFO - User octo logged in on the socket from client 192.168.0.82

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

If you read the Bed Level Visualizer's page of known issues you will see this section:

  • Install will fail silently in Python 3 due to missing system dependencies. You may have to SSH to your pi and run the command sudo apt install libatlas3-base to get the plugin to load.

For the telegram plugin, not quite sure what is up there but it appears to be a dependency that is failing. Not quite sure what to suggest there, maybe there is something similar that you have to install outside like bed level visualizer.

Thanks I had assumed it was a dependency issue as about 5 or 6 plugins are not loading.

I've been through the install path in the past and not had to install any dependencies outside of OctoPrint. In anycase, I'll move to the OctoPi image.

Thanks again.

Managed to get it working in the end the additional steps were:

sudo apt install virtualenv python3-virtualenv -y
sudo apt-get install python3-matplotlib
sudo apt-get install python3-numpy

I'm not sure the first one was essential, but I had pluggins like Telegram and Pushover that also didn't load and can't imagine either would need matplotlib or numpy.