Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install ST7789 via python pip




ST7789 - Library to control ST7789 TFT LCD displays., it belongs to Classifiers:

- Operating System :: POSIX :: Linux
- Topic :: System
- Topic :: System :: Hardware

When you know about this project and you want to new install ST7789 to support your project or you get trouble as ModuleNotFoundError: No module named "ST7789" or ImportError: cannot import name "ST7789" in your project, let follow this tutorial to install ST7789



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_ST7789_env

- Active the virtual environment

test_ST7789_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_ST7789_env

- Active the virtual environment

source test_ST7789_env/bin/active


Step 2: OK, now, let flow below content to start the installation ST7789

To install ST7789 on Windows(CMD):

py -m pip install ST7789

To install ST7789 on Unix/macOs:

pip install ST7789


Step 3: If you want to install a specific ST7789 version, add ==<ST7789 version> to the end command line

Example:

pip install ST7789==0.0.1


Please see the version list below table:

VersionReleased dateCommand
ST7789 0.0.42021-10-26T11:38:37Windows:

py -m pip install ST7789==0.0.4

Unix/macOs:

pip install ST7789==0.0.4

ST7789 0.0.32021-03-29T11:40:37Windows:

py -m pip install ST7789==0.0.3

Unix/macOs:

pip install ST7789==0.0.3

ST7789 0.0.22020-01-13T15:12:30Windows:

py -m pip install ST7789==0.0.2

Unix/macOs:

pip install ST7789==0.0.2

ST7789 0.0.12019-09-17T13:13:26Windows:

py -m pip install ST7789==0.0.1

Unix/macOs:

pip install ST7789==0.0.1


Step 4: Otherwise, you can install ST7789 from local archives:

Download the distribution file from ST7789-0.0.4.tar.gz or the specific ST7789 version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_ST7789_downloaded_file>

On Unix/macOs:

pip install <path_to_ST7789_downloaded_file>


List distribution:


Project link:

- Homepage