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

How to install sgp30 via python pip




sgp30 - Library for reading data from the sensiron SGP30, it belongs to Classifiers:

- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.4

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



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_sgp30_env

- Active the virtual environment

test_sgp30_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_sgp30_env

- Active the virtual environment

source test_sgp30_env/bin/active


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

To install sgp30 on Windows(CMD):

py -m pip install sgp30

To install sgp30 on Unix/macOs:

pip install sgp30


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

Example:

pip install sgp30==0.1.0


Please see the version list below table:

VersionReleased dateCommand
sgp30 0.1.62018-11-28T14:55:27Windows:

py -m pip install sgp30==0.1.6

Unix/macOs:

pip install sgp30==0.1.6

sgp30 0.1.52018-04-23T20:58:28Windows:

py -m pip install sgp30==0.1.5

Unix/macOs:

pip install sgp30==0.1.5

sgp30 0.1.42018-04-23T09:01:53Windows:

py -m pip install sgp30==0.1.4

Unix/macOs:

pip install sgp30==0.1.4

sgp30 0.1.32018-04-23T08:37:52Windows:

py -m pip install sgp30==0.1.3

Unix/macOs:

pip install sgp30==0.1.3

sgp30 0.1.22018-04-22T20:27:20Windows:

py -m pip install sgp30==0.1.2

Unix/macOs:

pip install sgp30==0.1.2

sgp30 0.1.12018-04-22T20:16:40Windows:

py -m pip install sgp30==0.1.1

Unix/macOs:

pip install sgp30==0.1.1

sgp30 0.1.02018-04-22T20:00:57Windows:

py -m pip install sgp30==0.1.0

Unix/macOs:

pip install sgp30==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_sgp30_downloaded_file>

On Unix/macOs:

pip install <path_to_sgp30_downloaded_file>


List distribution:


Project link:

- Homepage