JuliaPy / JuliaPy/PyCall.jl

Update for pyenv environment creation on OSX

Open
#597 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

I have tried the pyenv environment setup option in #122 but it did not work for me. I was not able to generate the shared library and PyCall was giving the error

```
ImportError: No module named site
```

Instead, the following command worked

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

The difference is to use `--enable-shared` instead of `--enable-framework`. This is also described [here](https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.