using the official image) a couple weeks ago due to a similar issue I assumed was due to me using Octoprint since '16, doing regular automatic updates and breaking at some point. This is weird, because I just reinstanced my raspberry pi (full format, etc. JavaScript Console Output Screenshot(s)/video(s) showing the problem:Īs I was going through the ticket creation process/guide, after I toggled between safe mode and back into normal mode, I can't reproduce the error, anymore. N/A Link to contents of Javascript console in the browser Log Link to contents of terminal tab or serial.log N/A Browser and version of browser, operating system running browserĬhrome & Brave (latest versions) Link to octoprint.log OctoPi 0.17.0 Printer model & used firmware incl. ![]() No installation and uninstallation of plugin packages is possible while pip is unavailable.ĭid the same happen when running OctoPrint in safe mode?ġ.3.12 Operating System running OctoPrint Import ansforms as mtransformsįile “/usr/lib/pymodules/python2.7/matplotlib/_init_.py”, line 134, inįrom matplotlib.rcsetup import (defaultParams,įile “/usr/lib/pymodules/python2.7/matplotlib/rcsetup.The pip command could not be found or does not work correctly for this installation of OctoPrint - please consult the log file for details and if necessary configure it manually. Mod = imp.load_module(fullname, self.file, self.filename, self.etc)įile “/usr/lib/pymodules/python2.7/mpl_toolkits/_init_.py”, line 3, inįile “/usr/lib/pymodules/python2.7/mpl_toolkits/axes_grid1/_init_.py”, line 2, inįrom axes_divider import Divider, SubplotDivider, LocatableAxes, \įile “/usr/lib/pymodules/python2.7/mpl_toolkits/axes_grid1/axes_divider.py”, line 14, in Loader.load_module(packageName) module._path_ = pathįile “/usr/lib/python2.7/pkgutil.py”, line 246, in load_module ![]() Map(declare_namespace, self._get_metadata(‘namespace_packages.txt’))įile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 1827, in declare_namespaceįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 1797, in _handle_ns ImportError: No module named pygments.lexerĪny ideas on what I am actually missing or how to start debugging?I get similar errors when I try from easy_install or pip or trying to install from git versionįrom pkg_resources import load_entry_pointįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2727, inĪdd_activation_listener(lambda dist: dist.activate())įile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 700, in subscribeįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2230, in activate Before we install anything, though, let’s update the package lists… ![]() Installing WiringPi2 for Python is very simple, but there are a couple of required packages, so we’ll install those first. I think Gordon’s working on that for V3 :p Installing WiringPi2 for Python :) You’ve still got to hook up your own wires though. This makes handling expanded ports as easy as…Īll the low level heavy lifting is done for us. For simple GPIO work, I use RPi.GPIO because that’s what I first got started with.īut, aside from hardware PWM, one thing I love about WiringPi2 is that it also has some extra built-in drivers for various chips – e.g. WiringPi2 for Python is an excellent GPIO handling system written by Gordon ‘Drogon’ Henderson and packaged for Python by Phil ‘Gadgetoid’ Howard. ![]() WiringPi2 for Python – installation instructions for Raspbian What is WiringPi2 and why do I need it?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |