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

Using pyenv to dynamically link to python in multipy/runtime #97

Open
Tracked by #98 ...
PaliC opened this issue Jul 14, 2022 · 0 comments
Open
Tracked by #98 ...

Using pyenv to dynamically link to python in multipy/runtime #97

PaliC opened this issue Jul 14, 2022 · 0 comments

Comments

@PaliC
Copy link
Contributor

PaliC commented Jul 14, 2022

At the moment, the primary reason we clone cpython from source and link to that is so we can add a small patch. However, we can emulate this patch by using pyenv and running the following command
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force <python version>
(credit to @d4l3k for figuring this out)

By leveraging pyenv, we should be able to dynamically link to the system version of python such that users do not have to worry about mismatching python versions.

@PaliC PaliC changed the title Using pyenv to dynamically link to python Using pyenv to dynamically link to python in multipy/runtime Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant