mirror of https://github.com/seL4/l4v.git
docs: update python setup instructions
Update instructions for new python versions. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
parent
7090a285e6
commit
372952b7b8
|
@ -88,6 +88,31 @@ pip3 install --user --upgrade pip
|
|||
pip3 install --user sel4-deps
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Error: Python environment is externally managed</summary>
|
||||
<div markdown="1">
|
||||
|
||||
Some Linux distributions have changed how Python is managed. If you get an error
|
||||
saying the Python 'environment is externally managed' follow the instructions
|
||||
below. The first two steps are needed only once for setup.
|
||||
|
||||
```sh
|
||||
python3 -m venv seL4-venv
|
||||
./seL4-venv/bin/pip install sel4-deps
|
||||
```
|
||||
|
||||
The following step is needed every time you start using the build environment
|
||||
in a new shell.
|
||||
|
||||
```sh
|
||||
source ./seL4-venv/bin/activate
|
||||
```
|
||||
|
||||
It is not important where the `seL4-venv` directory is located.
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
### Haskell Stack
|
||||
|
||||
After installing [haskell-stack](https://docs.haskellstack.org/en/stable/)
|
||||
|
|
Loading…
Reference in New Issue