mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Added note about venv upgrade (#5030)
* Added note about venv upgrade Added a note that if you've upgraded Python you'll need to rebuild the venv. * Minor changes * Replace short version
This commit is contained in:
parent
069a9f570e
commit
5587190866
@ -74,3 +74,12 @@ It is recommended to use the [advanced guide](/docs/installation/raspberry-pi/)
|
|||||||
<p class='info'>
|
<p class='info'>
|
||||||
Looking for more advanced guides? Check our [Rasbian guide](/docs/installation/raspberry-pi/) or the [other installation guides](/docs/installation/).
|
Looking for more advanced guides? Check our [Rasbian guide](/docs/installation/raspberry-pi/) or the [other installation guides](/docs/installation/).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
### {% linkable_title After upgrading Python %}
|
||||||
|
|
||||||
|
If you've upgraded Python (for example, you were running 3.5.2 and now you've installed 3.5.4) then you'll need to build a new virtual environment. Simply rename your existing virtual environment directory:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ mv homeassistant homeassistant.old
|
||||||
|
```
|
||||||
|
Then follow the [Install](/docs/installation/virtualenv/#install) steps again, being sure to use the newly installed version of Python.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user