question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation problem on RPi3

See original GitHub issue

RPi3

Linux Kernel version

Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

Hi, i tried to install the library by following the guide on: https://luma-oled.readthedocs.io/en/latest/install.html

I tried by simply copying all the lines but installation fails cause sudo: pip: is not more a recognized command.

I tried the installation without the third line (the one that purge pip) but than i got this error:

Collecting luma.oled Downloading luma.oled-2.2.12-py2.py3-none-any.whl Collecting luma.core>=1.0.3 (from luma.oled) Downloading luma.core-1.0.3-py2.py3-none-any.whl (49kB) 100% |################################| 51kB 737kB/s Collecting pillow>=4.0.0 (from luma.core>=1.0.3->luma.oled) Using cached Pillow-4.3.0.tar.gz Collecting monotonic; python_version < "3.3" (from luma.core>=1.0.3->luma.oled) Downloading monotonic-1.3-py2.py3-none-any.whl Requirement already up-to-date: smbus2 in /usr/local/lib/python2.7/dist-packages (from luma.core>=1.0.3->luma.oled) Requirement already up-to-date: RPI.GPIO; platform_system == "Linux" in /usr/lib/python2.7/dist-packages (from luma.core>=1.0.3->luma.oled) Collecting spidev; platform_system == "Linux" (from luma.core>=1.0.3->luma.oled) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 809, in unpack_url unpack_file_url(link, location, download_dir, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 715, in unpack_file_url unpack_file(from_path, location, content_type, link) File "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", line 617, in unpack_file flatten=not filename.endswith('.whl') File "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", line 502, in unzip_file zip = zipfile.ZipFile(zipfp, allowZip64=True) File "/usr/lib/python2.7/zipfile.py", line 770, in __init__ self._RealGetContents() File "/usr/lib/python2.7/zipfile.py", line 813, in _RealGetContents raise BadZipfile, "File is not a zip file" BadZipfile: File is not a zip file

Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Jaeger87commented, Oct 30, 2017

www.jaegerbox.net The project is a smartchalkboard controllable by telegram, i hope to finish it in this month and publish code and other stuff in early 2018.

1reaction
Jaeger87commented, Oct 30, 2017

It worked!

Thank you rm-hull and thijstriemstra, you are very kind and professional, i will put yours name and the library link in my blog when i finish this project, thank you again!

You can close this thread!

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Causes for a Raspberry Pi That Won't Boot (And How to Fix ...
Try these Raspberry Pi troubleshooting tips. ... A fresh installation of the latest OS will solve many booting issues with the Raspberry Pi...
Read more >
Raspberry Pi 3 B+ install problems
Did the installation, installation successful! Reboot the Pie, no luck again. Green LED in the was burning green, Red LED was blinking a...
Read more >
Installation error on RPi3 · Issue #6 · adafruit/Pi_Eyes - GitHub
Steps include: - Update package index files (apt-get update) - Install Python libraries: numpy, pi3d, svg.path, python-dev, python-imaging - ...
Read more >
Installation on Raspberry Pi 3 Problem - OpenWrt Forum
I decided to install OpenWrt on the Pi. I dd'ed the image openwrt-19.07.5-brcm2708-bcm2710-rpi-3-ext4-factory.img to a 32Gig card, ...
Read more >
Error installing packages on Raspberry PI 3
When I'am trying to install packages I am getting error: The value 'jessie' is invalid for APT::Default-Release as such a release is not ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found