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

How to install pyhue via python pip




pyhue - Python library for the Philips Hue personal lighting system, it belongs to Classifiers:

- License :: OSI Approved :: GNU General Public License v3 (GPLv3)

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



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_pyhue_env

- Active the virtual environment

test_pyhue_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_pyhue_env

- Active the virtual environment

source test_pyhue_env/bin/active


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

To install pyhue on Windows(CMD):

py -m pip install pyhue

To install pyhue on Unix/macOs:

pip install pyhue


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

Example:

pip install pyhue==0.5


Please see the version list below table:

VersionReleased dateCommand
pyhue 0.7.62013-06-03T16:26:50Windows:

py -m pip install pyhue==0.7.6

Unix/macOs:

pip install pyhue==0.7.6

pyhue 0.7.52013-06-03T16:23:53Windows:

py -m pip install pyhue==0.7.5

Unix/macOs:

pip install pyhue==0.7.5

pyhue 0.7.42013-06-03T15:11:04Windows:

py -m pip install pyhue==0.7.4

Unix/macOs:

pip install pyhue==0.7.4

pyhue 0.7.22013-06-03T14:46:10Windows:

py -m pip install pyhue==0.7.2

Unix/macOs:

pip install pyhue==0.7.2

pyhue 0.7.12013-06-03T14:33:43Windows:

py -m pip install pyhue==0.7.1

Unix/macOs:

pip install pyhue==0.7.1

pyhue 0.72013-06-03T14:27:39Windows:

py -m pip install pyhue==0.7

Unix/macOs:

pip install pyhue==0.7

pyhue 0.62013-05-26T16:08:56Windows:

py -m pip install pyhue==0.6

Unix/macOs:

pip install pyhue==0.6

pyhue 0.52013-05-15T00:08:46Windows:

py -m pip install pyhue==0.5

Unix/macOs:

pip install pyhue==0.5


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

Download the distribution file from pyhue-0.7.6.zip or the specific pyhue version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pyhue_downloaded_file>

On Unix/macOs:

pip install <path_to_pyhue_downloaded_file>


List distribution:


Project link:

- Homepage
- Download