Hello,
I just installed the Astroprint Plugin for OctoPrint so I can link my printer to Astroprint.
So I went into the Plugin Manager, clicked on Install at the Astroprint Plugin and it says done. I restart my OctoPrint, but the Plugin won’t show up in the list. So I connected via SSH to my server and opened the log file. There I see following error message:
2023-07-09 11:14:58,246 - octoprint.plugin.core - ERROR - Error loading plugin astroprint
Traceback (most recent call last):
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests_toolbelt/_compat.py”, line 49, in
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘requests.packages.urllib3.contrib’ (/home/pi/OctoPrint/venv/lib/python3.9/site-packa>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint/plugin/core.py”, line 1294, in _import_plugin
module = _load_module(module_name, spec)
File “/home/pi/OctoPrint/venv/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/OctoPrint/venv/lib/python3.9/site-packages/octoprint/vendor/imp.py”, line 238, in load_module
return load_package(name, filename)
File “/home/pi/OctoPrint/venv/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_frames_removed
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint_astroprint/init.py”, line 18, in
from .AstroprintCloud import AstroprintCloud
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint_astroprint/AstroprintCloud.py”, line 14, in
from requests_toolbelt import MultipartEncoder
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests_toolbelt/init.py”, line 12, in
from .adapters import SSLAdapter, SourceAddressAdapter
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests_toolbelt/adapters/init.py”, line 12, in
from .ssl import SSLAdapter
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests_toolbelt/adapters/ssl.py”, line 16, in
from …_compat import poolmanager
File “/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests_toolbelt/_compat.py”, line 51, in
from urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name ‘appengine’ from ‘urllib3.contrib’ (/home/pi/OctoPrint/venv/lib/python3.9/site-packages/urllib3/contrib/init.py)
I tried searching for the error but no results and no topics regarding this error in this forum.
What can I do now?
Thank you,
Leon