Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anaconda supporting #4898

Open
wangjiawen2013 opened this issue Feb 10, 2025 · 2 comments
Open

Anaconda supporting #4898

wangjiawen2013 opened this issue Feb 10, 2025 · 2 comments

Comments

@wangjiawen2013
Copy link

wangjiawen2013 commented Feb 10, 2025

Hi,
pyo3 does not support anaconda envrionments currently. But for MacOS and CentOS server, python2 is kept by default ! So how to set anaconda python when using pyo3 ?

@BenMoon
Copy link

BenMoon commented Feb 13, 2025

Hey,
have you already tried putting this

fn main() {
    // Add linker arguments for building Python extension
    pyo3_build_config::add_extension_module_link_args();
}

into your build.rs? I usually use mambaforge and it works flawlessly.

@wangjiawen2013
Copy link
Author

Oh, I want to use it in evcxr_jupyter. It does not support anaconda envrionments in evcxr_jupyter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants