Update for pyenv environment creation on OSX
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Review the pyenv environment-setup instructions referenced by #122 and compare them with the reported working command on macOS. Done when the instructions use the appropriate option and explain the resulting PyCall setup without the reported ImportError.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, macos, python
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100