pkg_resources.Distributionnotfound:

What is the problem?
Server will not run

What did you already try to solve it?
tired to reset the pi manually and via SSH

Logs (octoprint.log, serial.log or output on terminal tab, ...)

Traceback (most recent call last):
File "/home/pi/oprint/bin/octoprint", line 6, in
from pkg_resources import load_entry_point
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3019, in
@_call_aside
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 655, in _build_master
ws.require(requires)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/init.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing<4,>=3.6.6' distribution was not found and is required by OctoPrint

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, ...)

octoprint version: 1.3.11
octopi version :0.15.1

I beleive i will need to reimage, should i do this or is there another method to fix this via SSH?

Looks like a corrupt install? :thinking: Try a manual reinstall via SSH

source ~/oprint/bin/activate
pip install --force-reinstall https://get.octoprint.org/latest

and see what that gives you.

100% |████████████████████████████████| 5.4MB 57kB/s

Requirement already satisfied (use --upgrade to upgrade): OctoPrint==1.3.11 from https://get.octoprint.org/latest in ./oprint/lib/python2.7/site-packages
Collecting reinstall
Could not find a version that satisfies the requirement reinstall (from versions: )
No matching distribution found for reinstall
You are using pip version 9.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I upgraded pip , reinstalled
only error i see is ;
ERROR: bed-visualizer 0.1.8 requires numpy, which is not installed.
still no server running

Please note that on my own Raspberry Pi 3B, numpy took about 20 or 30 minutes to install. (It has a lengthy compilation process.)

source ~/oprint/bin/activate
pip install numpy