Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Add solution to Troubleshooting #365

Merged
merged 2 commits into from
Apr 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,16 @@ Make sure that you install the module globally and not within a virtualenv.
cd python/
pip install aggregators/
```

**Error: ImportError: ... Symbol not found: ...**

__Solution:__

If you installed python via `pyenv` and the error message `Symbol not found` appears, you may have
to reinstall Python with the `--enable-shared` option:

`env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.7.6`

Next, run `cargo clean` to remove the old build artifacts. After that, all tests should pass.

[You can find more information about the solution here.](https://github.com/PyO3/pyo3/issues/742#issuecomment-577332616)
20 changes: 0 additions & 20 deletions rust/.cargo/config.toml

This file was deleted.