KREMEN Реклама
KREMEN Реклама

Ошибка при обновлении Octoprint

epson950
Идет загрузка
Загрузка
11.07.2021
992
1
Вопросы и ответы

Установил Octoprint на Orange Pi Lite. Сама система запустилась, но Octoprint стоял старый, 1.3.4 и предложил обновиться до 1.6.1. Ну а тут полезли ошибки и в конце табличка "Update failed!The update did not finish successfully. Please consult the log for details."

А вот что было в логе

Updating, please wait./home/pi/OctoPrint/venv/bin/python "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py" --branch= --force=false "/home/pi/OctoPrint/" 1.6.1No local packages or working download links found for markdown=3.1Traceback (most recent call last):File "setup.py", line 312, in setuptools.setup(**params())File "/usr/lib/python2.7/distutils/core.py", line 111, in setup_setup_distribution = dist = klass(attrs)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 320, in __init__self.fetch_build_eggs(attrs['setup_requires'])File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 377, in fetch_build_eggsreplace_conflicting=True,File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolvedist = best[req.key] = env.best_match(req, ws, installer)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_matchreturn self.obtain(req, installer)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtainreturn installer(requirement)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 445, in fetch_build_eggreturn cmd.easy_install(req)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 667, in easy_installraise DistutilsError(msg)distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('markdown=3.1')No local packages or working download links found for markdown=3.1Traceback (most recent call last):File "setup.py", line 312, in setuptools.setup(**params())File "/usr/lib/python2.7/distutils/core.py", line 111, in setup_setup_distribution = dist = klass(attrs)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 320, in __init__self.fetch_build_eggs(attrs['setup_requires'])File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 377, in fetch_build_eggsreplace_conflicting=True,File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolvedist = best[req.key] = env.best_match(req, ws, installer)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_matchreturn self.obtain(req, installer)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtainreturn installer(requirement)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 445, in fetch_build_eggreturn cmd.easy_install(req)File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 667, in easy_installraise DistutilsError(msg)distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('markdown=3.1')Traceback (most recent call last):File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 313, in main()File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 310, in maininstall_source(python_executable, folder, user=args.user, sudo=args.sudo)File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins/softwareupdate/scripts/update-octoprint.py", line 254, in install_sourceraise RuntimeError("Could not update, \"python setup.py install\" failed with returncode {}".format(returncode))RuntimeError: Could not update, "python setup.py install" failed with returncode 1Python executable: '/home/pi/OctoPrint/venv/bin/python'>>> Running: git diff --shortstat> git diff --shortstat>>> Running: git fetch> git fetch>>> Running: git pull> git pullAlready up-to-date.>>> Running: python setup.py clean> /home/pi/OctoPrint/venv/bin/python setup.py clean"python setup.py clean" failed with returncode 1Continuing anyways>>> Running: python setup.py install> /home/pi/OctoPrint/venv/bin/python setup.py installThe update did not finish successfully. Please consult the log for details.

Я к сожалению с линуксом на вы, помогите исправить эти ошибки

Ответы на вопросы
Lider 3D Реклама
Lider 3D Реклама