-
Notifications
You must be signed in to change notification settings - Fork 952
Closed
Description
Hi!
🌍 Environment
- Your operating system and version:
macOS Mojave 10.14.6
- Your python version:
Tested on 3.8.1 and 3.6.10
- How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?:
I use pyenv
- Your rust version (
rustc --version):
rustc 1.43.0-nightly (58b834344 2020-02-05)
- Are you using the latest pyo3 version? Have you tried using latest master?
0.8.4 and master both have this issue
💥 Reproducing
fn main(){
let gil = Python::acquire_gil();
let py = gil.python();
match py.import("random") {
Err(e) => e.print(py),
Ok(x) => {},
}
}Traceback (most recent call last):
File "/Users/maksim.danilchenko/.pyenv/versions/3.6.10/lib/python3.6/random.py", line 42, in <module>
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
ImportError: dlopen(/Users/maksim.danilchenko/.pyenv/versions/3.6.10/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so, 2): Symbol not found: __PyLong_GCD
Referenced from: /Users/maksim.danilchenko/.pyenv/versions/3.6.10/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so
Expected in: flat namespace
in /Users/maksim.danilchenko/.pyenv/versions/3.6.10/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels