Skip to content

Commit

Permalink
Update TROUBLESHOOTING-en-US.md
Browse files Browse the repository at this point in the history
Signed-off-by: Luísa F. Coelho <[email protected]>
  • Loading branch information
Luisa-Coelho authored Oct 17, 2023
1 parent 6370a19 commit 4b53da5
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/TROUBLESHOOTING-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,28 @@ module.c:1:10: fatal error: Python.h: No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
```

Please try to install `python3-dev`. E.g. via `apt install python3-dev`, if you are using a Debian-like distro, or use your distro manager package. Make sure that you use the correct version (e.g. `python3.6-dev` or `python3.7-dev`). You can check your version via `python3 --version`.
Please try to install `python3-dev`. E.g. via `apt install python3-dev`, if you are using a Debian-like distro, or use your distro manager package. Make sure that you use the correct version (e.g. `python3.6-dev` or `python3.7-dev`). You can check your version via `python3 --version`.

## Error `pinned with ==`

While running `pip install requeriments`, a inexact pinning error may appear. Therefore, use "--no-deps" along the installation:

~~~Linux
pip install -r data_collection/requirements-dev.txt --no-deps
~~~

## Error `legacy-install`

In your WSL terminal, a `legacy-install failure`, like this one below, may occur while installing packages.

```
error: legacy-install failure
error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory
```

Thus, upgrade your pio and install some essential libraries for Linux:

~~~Linux
python3 -m pip install --upgrade pip
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
~~~

0 comments on commit 4b53da5

Please sign in to comment.