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.

Documentation, Install

See original GitHub issue

Re: https://github.com/rm-hull/luma.oled/blob/master/doc/install.rst

May I suggest simply duplicating the required command for their Python 3 counterparts, and removing the equally long substitution list? This would simplify and eliminate error, since not all pip are to be changed:

$ sudo apt-get install python-dev python-pip3 libfreetype6-dev libjpeg-dev build-essential
$ sudo -H pip3 install --upgrade pip
[ $ sudo apt-get purge python-pip3 ] (removes pip3, see below)
$ sudo -H pip3 install --upgrade luma.oled

Additionally, purge in line 3 just removed my pip3 which is required in line 4.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gnblcommented, Nov 19, 2017

@rm-hull If you wanted to improve the speed for this display controller, consider to optimize the bit-packing (two pixels / greyscale nibbles per byte). This seems to be quite slow in Python. Outsourcing this loop to a compiled Cython module speeds this up significantly.

Increasing SPI driver buffer size and patching py-spidev accordingly does probably not gain very much, although it would allow writing the whole display / RAM in one transfer (8 kiB / 32 kiB).

However, both of these are probably a bit involved for the end user.

1reaction
gnblcommented, Oct 29, 2017

Thanks for the feedback, this was not meant as a complaint. I’m happy it worked on the first attempt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — Anaconda documentation
Install offline copies of documentation for many of Anaconda's open-source packages by installing the conda package anaconda-oss-docs: conda install ...
Read more >
Docker Engine installation overview
Lists the installation methods. ... Refer to the documentation of your distro to find which Debian release corresponds with your derivative version.
Read more >
Installation and deployment - ArcGIS Enterprise
You can deploy ArcGIS Enterprise using automation tools or manually by installing and configuring individual components. In both cases, guidelines for ...
Read more >
Documentation » Installing Sphinx
Once Python is installed, you can install Sphinx using pip. Refer to the pip installation instructions below for more information. Installation from PyPI¶....
Read more >
Installation and Licensing Documentation - MathWorks
Install MATLAB, Simulink, and other MathWorks products to explore the wide range of product capabilities and find the solution that is right for...
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