OS: Armbian buster with Linux 5.4.35-sunxi
OctoPrint version: I cannot tell, because the "octoprint --version" command fails as below
Python 2.7
Trying to install OctoPrint on either a Orange Pi PC or Lite boards,
I cannot start the server nor get version info out of OctoPrint:
Error (see full output below):
pkg_resources.DistributionNotFound: The 'markdown<3.2,>=3.1' distribution was not found and is required by OctoPrint
What did you already try to solve it?
Tried to update to 'markdown 3.2' but apparently it doesn't exist, at least not for Python 2.7
Logs (octoprint.log
, serial.log
or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)
I'd give you the logs, but I cannot find them. There is no log file anywhere in the OctoPrint directory. There is no log in the /var/log directory called 'octoprint.log'. The 'locate' command cannot find octoprint.log either.
This command: "~/OctoPrint/venv/bin/octoprint serve"
Produces this output on the terminal window:
Traceback (most recent call last):
File "/home/octopi/OctoPrint/venv/bin/octoprint", line 6, in <module>
from pkg_resources import load_entry_point
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
@_call_aside
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'markdown<3.2,>=3.1' distribution was not found and is required by OctoPrint
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)
As I said, I cannot get the OctoPrint version, because that command fails. I'm sure it in a text file someplace, tell me where to look and I'll provide it. No browser involved, as I cannot start the server.