What is the problem?
When I run octoprint serve
error occurs:
Traceback (most recent call last):
File "/usr/local/bin/octoprint", line 11, in <module>
load_entry_point('OctoPrint==1.3.12', 'console_scripts', 'octoprint')()
File "/usr/local/lib/python3.7/site-packages/OctoPrint-1.3.12-py3.7.egg/octoprint/__init__.py", line 605, in main
from octoprint.util.fixes import patch_sarge_async_on_py2
File "/usr/local/lib/python3.7/site-packages/OctoPrint-1.3.12-py3.7.egg/octoprint/util/__init__.py", line 27, in <module>
from typing import Union
File "/usr/local/lib/python3.7/site-packages/typing-3.7.4.1-py3.7.egg/typing.py", line 1357, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/local/lib/python3.7/site-packages/typing-3.7.4.1-py3.7.egg/typing.py", line 1005, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
Octoprint was installed with python2.7, as this post suggested. No search result came up with keyword abc_registry
What did you already try to solve it?
No other error message was shown during installation process. I'm not sure what I should try.
Logs (octoprint.log
, serial.log
or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)
Traceback (most recent call last):
File "/usr/local/bin/octoprint", line 11, in <module>
load_entry_point('OctoPrint==1.3.12', 'console_scripts', 'octoprint')()
File "/usr/local/lib/python3.7/site-packages/OctoPrint-1.3.12-py3.7.egg/octoprint/__init__.py", line 605, in main
from octoprint.util.fixes import patch_sarge_async_on_py2
File "/usr/local/lib/python3.7/site-packages/OctoPrint-1.3.12-py3.7.egg/octoprint/util/__init__.py", line 27, in <module>
from typing import Union
File "/usr/local/lib/python3.7/site-packages/typing-3.7.4.1-py3.7.egg/typing.py", line 1357, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/local/lib/python3.7/site-packages/typing-3.7.4.1-py3.7.egg/typing.py", line 1005, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
**Additional information about your setup** (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... **as much data as possible**)
I was cloned from github repo master branch so I think OctoPrint version is 1.3.12, printer in Anycubic i3 Mega, OS is macOS 10.14.6, Python 2.7