Installation problem on RPi3
See original GitHub issueRPi3
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:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
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.
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!