mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
* proposed change for issue #1939 changed link target to point to correct location of libcec in system site-packages included latest default location for the virtual env in a Raspberry Pi All-In-One installation * update to reflect differing locations of libcec
This commit is contained in:
parent
bbb5d023f0
commit
32f8077260
@ -27,16 +27,23 @@ The computer running Home Assistant must support CEC, and of course be connected
|
|||||||
|
|
||||||
#### {% linkable_title Symlinking into virtual environment %}
|
#### {% linkable_title Symlinking into virtual environment %}
|
||||||
|
|
||||||
Create a symlink to the `cec` installation.
|
Create a symlink to the `cec` installation. Keep in mind different installation methods will result in different locations of cec.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /path/to/your/venv/lib/python3.4/site-packages
|
$ ln -s /path/to/your/installation/of/cec /path/to/your/venv/lib/python3.4/site-packages
|
||||||
|
```
|
||||||
|
##### {% linkable_title Symlinking examples: %}
|
||||||
|
|
||||||
|
For the default virtual environment of a [HASSbian Image for Raspberry Pi](/getting-started/installation-raspberry-pi-image/) the command would be as follows.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/homeassistant/lib/python3.4/site-packages
|
||||||
```
|
```
|
||||||
|
|
||||||
For the default virtual environment of a [Raspberry Pi All-In-One installation](/getting-started/installation-raspberry-pi-all-in-one/) the command would be as follows.
|
For the default virtual environment of a [Raspberry Pi All-In-One installation](/getting-started/installation-raspberry-pi-all-in-one/) the command would be as follows.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/hass/hass_venv/lib/python3.4/site-packages
|
$ ln -s /usr/local/lib/python3.4/site-packages/cec /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages
|
||||||
```
|
```
|
||||||
|
|
||||||
<p class='note'>If after symlinking and adding `hdmi_cec:` to your configuration you are getting the following error in your logs,
|
<p class='note'>If after symlinking and adding `hdmi_cec:` to your configuration you are getting the following error in your logs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user