Problem installing Access Anywhere

What is the problem?

Can't install Access Anywhere - The Spaghetti Detective

What did you already try to solve it?

sudo apt-get update
sudo apt-get dist-upgrade

and

pi@octopi:~ source oprint/bin/activate (oprint)pi@octopi:~ pip install --upgrade pip

Complete Logs

2020-07-27 22:44:56,547   /home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/master.zip --no-cache-dir
2020-07-27 22:44:59,038 > Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2020-07-27 22:44:59,039 > Collecting https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/master.zip
2020-07-27 22:44:59,039 > Downloading https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/master.zip (17.5 MB)
2020-07-27 22:45:02,670 > Requirement already satisfied: OctoPrint>=1.3.8 in /home/pi/oprint/lib/python2.7/site-packages (from TheSpaghettiDetective==1.3.2) (1.4.0)
2020-07-27 22:45:02,670 > Requirement already satisfied: backoff>=1.4.3 in /home/pi/oprint/lib/python2.7/site-packages (from TheSpaghettiDetective==1.3.2) (1.10.0)
2020-07-27 22:45:02,671 > Requirement already satisfied: raven in /home/pi/oprint/lib/python2.7/site-packages (from TheSpaghettiDetective==1.3.2) (6.10.0)
2020-07-27 22:45:12,676 > Collecting picamera==1.13
2020-07-27 22:45:12,677 > Downloading picamera-1.13.tar.gz (143 kB)
2020-07-27 22:45:14,280 > Requirement already satisfied: flask<0.13,>=0.12 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.12.5)
2020-07-27 22:45:14,281 > Requirement already satisfied: websocket-client<0.57,>=0.56 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.56.0)
2020-07-27 22:45:14,281 > Requirement already satisfied: Flask-Login<0.5,>=0.4.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.4.1)
2020-07-27 22:45:14,281 > Requirement already satisfied: futures<3.4,>=3.3; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.3.0)
2020-07-27 22:45:14,281 > Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2.8.1)
2020-07-27 22:45:14,282 > Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.7.19)
2020-07-27 22:45:14,282 > Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.1)
2020-07-27 22:45:14,282 > Requirement already satisfied: chainmap<1.1,>=1.0.3; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.0.3)
2020-07-27 22:45:14,282 > Requirement already satisfied: Flask-Babel<0.13,>=0.12 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.12.2)
2020-07-27 22:45:14,282 > Requirement already satisfied: typing<4,>=3.7.4.1; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.7.4.1)
2020-07-27 22:45:14,282 > Requirement already satisfied: watchdog<0.10,>=0.9.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.9.0)
2020-07-27 22:45:14,283 > Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.6.5)
2020-07-27 22:45:14,283 > Requirement already satisfied: emoji<0.6,>=0.5.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.5.4)
2020-07-27 22:45:14,283 > Requirement already satisfied: frozendict<1.3,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.2)
2020-07-27 22:45:14,283 > Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.1.1)
2020-07-27 22:45:14,283 > Requirement already satisfied: sentry-sdk==0.13.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.13.2)
2020-07-27 22:45:14,283 > Requirement already satisfied: rsa<5,>=4.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (4.0)
2020-07-27 22:45:14,284 > Requirement already satisfied: PyYAML<6,>=5.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (5.1.2)
2020-07-27 22:45:14,284 > Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (5.2.1)
2020-07-27 22:45:14,284 > Requirement already satisfied: werkzeug<0.17,>=0.16 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.16.1)
2020-07-27 22:45:14,284 > Requirement already satisfied: Click<8,>=7 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (7.0)
2020-07-27 22:45:14,284 > Requirement already satisfied: pyserial<3.5,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.4)
2020-07-27 22:45:14,284 > Requirement already satisfied: scandir<1.11,>=1.10; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.10.0)
2020-07-27 22:45:14,285 > Requirement already satisfied: monotonic<1.6,>=1.5; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.5)
2020-07-27 22:45:14,285 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2019.8.19)
2020-07-27 22:45:14,285 > Requirement already satisfied: filetype<2,>=1.0.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.0.5)
2020-07-27 22:45:14,285 > Requirement already satisfied: blinker<1.5,>=1.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.4)
2020-07-27 22:45:14,286 > Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (4.5.3)
2020-07-27 22:45:14,286 > Requirement already satisfied: psutil<5.7,>=5.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (5.6.7)
2020-07-27 22:45:14,286 > Requirement already satisfied: requests<3,>=2.22.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2.22.0)
2020-07-27 22:45:14,286 > Requirement already satisfied: sarge==0.1.5post0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.1.5.post0)
2020-07-27 22:45:14,287 > Requirement already satisfied: Flask-Assets<0.13,>=0.12 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.12)
2020-07-27 22:45:14,287 > Requirement already satisfied: semantic-version<2.9,>=2.8 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2.8.5)
2020-07-27 22:45:14,287 > Requirement already satisfied: pylru<1.3,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.2.0)
2020-07-27 22:45:14,287 > Requirement already satisfied: pkginfo<1.6,>=1.5.0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.5.0.1)
2020-07-27 22:45:14,288 > Requirement already satisfied: wrapt<1.12,>=1.11.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.11.2)
2020-07-27 22:45:14,288 > Requirement already satisfied: future<0.19,>=0.18.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.18.2)
2020-07-27 22:45:14,288 > Requirement already satisfied: netifaces<0.11,>=0.10.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.10.9)
2020-07-27 22:45:14,288 > Requirement already satisfied: contextlib2; python_version < "3.2" in /home/pi/oprint/lib/python2.7/site-packages (from raven->TheSpaghettiDetective==1.3.2) (0.6.0.post1)
2020-07-27 22:45:14,288 > Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages (from flask<0.13,>=0.12->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.1.0)
2020-07-27 22:45:14,288 > Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<0.57,>=0.56->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.12.0)
2020-07-27 22:45:14,288 > Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.1.1)
2020-07-27 22:45:14,289 > Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<0.13,>=0.12->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2.7.0)
2020-07-27 22:45:14,289 > Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.26.2)
2020-07-27 22:45:14,289 > Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.1.2)
2020-07-27 22:45:14,289 > Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.4.21)
2020-07-27 22:45:14,289 > Requirement already satisfied: setuptools>=36 in /home/pi/oprint/lib/python2.7/site-packages (from markdown<3.2,>=3.1->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (41.5.1)
2020-07-27 22:45:14,289 > Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages (from sentry-sdk==0.13.2->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2019.9.11)
2020-07-27 22:45:14,290 > Requirement already satisfied: urllib3>=1.10.0 in /home/pi/oprint/lib/python2.7/site-packages (from sentry-sdk==0.13.2->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (1.25.6)
2020-07-27 22:45:14,290 > Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa<5,>=4.0->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.4.7)
2020-07-27 22:45:14,290 > Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.4.0.3)
2020-07-27 22:45:14,290 > Requirement already satisfied: backports-abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.5)
2020-07-27 22:45:14,290 > Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.22.0->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (3.0.4)
2020-07-27 22:45:14,290 > Requirement already satisfied: idna<2.9,>=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.22.0->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2.8)
2020-07-27 22:45:14,291 > Requirement already satisfied: webassets>=0.11.1 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets<0.13,>=0.12->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (0.12.1)
2020-07-27 22:45:14,291 > Requirement already satisfied: pytz>=2015.7 in /home/pi/oprint/lib/python2.7/site-packages (from Babel>=2.3->Flask-Babel<0.13,>=0.12->OctoPrint>=1.3.8->TheSpaghettiDetective==1.3.2) (2019.3)
2020-07-27 22:45:14,291 > Building wheels for collected packages: TheSpaghettiDetective, picamera
2020-07-27 22:45:14,291 > Building wheel for TheSpaghettiDetective (setup.py): started
2020-07-27 22:45:27,412 > Building wheel for TheSpaghettiDetective (setup.py): finished with status 'done'
2020-07-27 22:45:27,412 > Created wheel for TheSpaghettiDetective: filename=TheSpaghettiDetective-1.3.2-py2-none-any.whl size=17394090 sha256=31819c8f0dd157c45b67dda52e72a265a6fb27e9e8c4d7eb16fb541fc1a2187e
2020-07-27 22:45:27,413 > Stored in directory: /tmp/pip-ephem-wheel-cache-CfKd8n/wheels/43/9d/c2/187f3f9565a76fcb56548fafeb2d734471577ba51ed33bf7ec
2020-07-27 22:45:27,413 > Building wheel for picamera (setup.py): started
2020-07-27 22:45:28,082 ! ERROR: Command errored out with exit status 1:
2020-07-27 22:45:28,090 ! command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2x7TEu
2020-07-27 22:45:28,090 ! cwd: /tmp/pip-install-9BC06i/picamera/
2020-07-27 22:45:28,091 ! Complete output (54 lines):
2020-07-27 22:45:28,091 ! running bdist_wheel
2020-07-27 22:45:28,091 ! running build
2020-07-27 22:45:28,091 ! running build_py
2020-07-27 22:45:28,091 ! creating build
2020-07-27 22:45:28,091 ! creating build/lib.linux-armv7l-2.7
2020-07-27 22:45:28,092 ! creating build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,092 ! copying picamera/mmalobj.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,092 ! copying picamera/array.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,092 ! copying picamera/frames.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,092 ! copying picamera/camera.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,092 ! copying picamera/renderers.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,093 ! copying picamera/__init__.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,093 ! copying picamera/bcm_host.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,093 ! copying picamera/mmal.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,093 ! copying picamera/encoders.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,094 ! copying picamera/display.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,094 ! copying picamera/color.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,094 ! copying picamera/streams.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,094 ! copying picamera/exc.py -> build/lib.linux-armv7l-2.7/picamera
2020-07-27 22:45:28,094 ! running egg_info
2020-07-27 22:45:28,094 ! writing requirements to picamera.egg-info/requires.txt
2020-07-27 22:45:28,095 ! writing picamera.egg-info/PKG-INFO
2020-07-27 22:45:28,095 ! writing top-level names to picamera.egg-info/top_level.txt
2020-07-27 22:45:28,095 ! writing dependency_links to picamera.egg-info/dependency_links.txt
2020-07-27 22:45:28,095 ! reading manifest file 'picamera.egg-info/SOURCES.txt'
2020-07-27 22:45:28,095 ! reading manifest template 'MANIFEST.in'
2020-07-27 22:45:28,095 ! no previously-included directories found matching 'debian'
2020-07-27 22:45:28,096 ! no previously-included directories found matching 'docs'
2020-07-27 22:45:28,096 ! writing manifest file 'picamera.egg-info/SOURCES.txt'
2020-07-27 22:45:28,096 ! installing to build/bdist.linux-armv7l/wheel
2020-07-27 22:45:28,096 ! running install
2020-07-27 22:45:28,096 ! Traceback (most recent call last):
2020-07-27 22:45:28,096 ! File "<string>", line 1, in <module>
2020-07-27 22:45:28,097 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 145, in <module>
2020-07-27 22:45:28,097 ! main()
2020-07-27 22:45:28,097 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 140, in main
2020-07-27 22:45:28,097 ! cmdclass             = {'install': CustomInstallCommand},
2020-07-27 22:45:28,097 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
2020-07-27 22:45:28,097 ! return distutils.core.setup(**attrs)
2020-07-27 22:45:28,098 ! File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
2020-07-27 22:45:28,098 ! dist.run_commands()
2020-07-27 22:45:28,098 ! File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
2020-07-27 22:45:28,098 ! self.run_command(cmd)
2020-07-27 22:45:28,098 ! File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
2020-07-27 22:45:28,098 ! cmd_obj.run()
2020-07-27 22:45:28,099 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 228, in run
2020-07-27 22:45:28,099 ! self.run_command('install')
2020-07-27 22:45:28,099 ! File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
2020-07-27 22:45:28,099 ! self.distribution.run_command(command)
2020-07-27 22:45:28,099 ! File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
2020-07-27 22:45:28,099 ! cmd_obj.run()
2020-07-27 22:45:28,099 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 109, in run
2020-07-27 22:45:28,100 ! raise ValueError('This system does not appear to be a Raspberry Pi')
2020-07-27 22:45:28,100 ! ValueError: This system does not appear to be a Raspberry Pi
2020-07-27 22:45:28,100 ! ----------------------------------------
2020-07-27 22:45:28,100 ! ERROR: Failed building wheel for picamera
2020-07-27 22:45:28,698 > Building wheel for picamera (setup.py): finished with status 'error'
2020-07-27 22:45:28,698 > Running setup.py clean for picamera
2020-07-27 22:45:28,699 > Successfully built TheSpaghettiDetective
2020-07-27 22:45:28,699 > Failed to build picamera
2020-07-27 22:45:28,699 > Installing collected packages: picamera, TheSpaghettiDetective
2020-07-27 22:45:28,699 > Running setup.py install for picamera: started
2020-07-27 22:45:29,270 ! ERROR: Command errored out with exit status 1:
2020-07-27 22:45:29,270 ! command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-LIQMdh/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/picamera
2020-07-27 22:45:29,270 ! cwd: /tmp/pip-install-9BC06i/picamera/
2020-07-27 22:45:29,271 ! Complete output (18 lines):
2020-07-27 22:45:29,271 ! running install
2020-07-27 22:45:29,271 ! Traceback (most recent call last):
2020-07-27 22:45:29,271 ! File "<string>", line 1, in <module>
2020-07-27 22:45:29,271 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 145, in <module>
2020-07-27 22:45:29,271 ! main()
2020-07-27 22:45:29,272 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 140, in main
2020-07-27 22:45:29,272 ! cmdclass             = {'install': CustomInstallCommand},
2020-07-27 22:45:29,272 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
2020-07-27 22:45:29,272 ! return distutils.core.setup(**attrs)
2020-07-27 22:45:29,272 ! File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
2020-07-27 22:45:29,272 ! dist.run_commands()
2020-07-27 22:45:29,272 ! File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
2020-07-27 22:45:29,273 ! self.run_command(cmd)
2020-07-27 22:45:29,273 ! File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
2020-07-27 22:45:29,273 ! cmd_obj.run()
2020-07-27 22:45:29,273 ! File "/tmp/pip-install-9BC06i/picamera/setup.py", line 109, in run
2020-07-27 22:45:29,273 ! raise ValueError('This system does not appear to be a Raspberry Pi')
2020-07-27 22:45:29,273 ! ValueError: This system does not appear to be a Raspberry Pi
2020-07-27 22:45:29,273 ! ----------------------------------------
2020-07-27 22:45:29,274 ! ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9BC06i/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-LIQMdh/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/picamera Check the logs for full command output.
2020-07-27 22:45:29,275 > Running setup.py install for picamera: finished with status 'error'

Additional information about your setup

Ocotprint 1.4.0
Ocotpi 0.17.0
Pi 4b 4gb

Did you enable the pi camera in sudo raspi-config then reboot and try?

maybe @Kenneth_Jiang can help you :slight_smile:

Thank you @PrintedWeezl for tagging me!

@pireybr can you run cat /proc/cpuinfo && cat /sys/firmware/devicetree/base/model and post the output? We suspect this error is caused by a new Pi 4 revision that is breaking picamera module.

processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2711
Revision : c03111
Serial : 10000000170dfb72
Model : Raspberry Pi 4 Model B Rev 1.1

thank you, but didn't work

@pireybr can you run these commands and post the console output here?

sudo -s
export READTHEDOCS=True
/home/pi/oprint/bin/python2 -m pip install picamera

Actually we are testing a hot fix for this issue now. Please follow these steps to see if it works:

  1. Uninstall Access Anywhere plugin.
  2. Re-install the plugin from URL: https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/picamerab.zip. Check this doc for how to install plugin from URL.

Let me know if the installation will work this time now.

Than you very much Kenneth_Jiang, it worked

Awesome! Thank you @pireybr for testing the hotfix for us!

Are both Access Anywhere and The Spaghetti Detective the same sub b/c my sub on Access doesn't renew until July and don't want to lose 5 months b/c it won't install for one printer.

Yes the plugin's official name is "Access Anywhere - The Spaghetti Detective" as it is the successor of OctoPrint Anywhere. However we probably created more confusion with this name lol.