Skip to content

Commit

Permalink
Merge pull request #68 from osrd-project/readme-pyo3-issue
Browse files Browse the repository at this point in the history
readme: mention a way to solve pyo3 config issue
  • Loading branch information
Castavo authored Sep 27, 2024
2 parents 4596f60 + cdd93dc commit ea281e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,12 @@ include a Signed-off-by line. You can find more information about this [here](ht

For more advice on how to contribute, follow that link:
https://osrd.fr/en/docs/guides/contribute/contribute-code

### Troubleshooting

#### pyO3

If you have troubles with `rust-analyzer` giving errors like `pyclass: proc-macro crate build data is missing dylib path`
then it might be a pyO3 configuration issue.

Setting the `PYO3_PYTHON` environment variable to a python executable may fix the issue.

0 comments on commit ea281e3

Please sign in to comment.