Open MalteBoehm opened 2 years ago
Hey there currently i´m building a docker julia template i want to share with everyone. https://github.com/MalteBoehm/julia_docker-compose_template
The current issue is that when i install my own python environment, PyCall adds a HOMEPYTHON Env variable which causes a Fatal Python error and its not possible to unset those variables.
See here: https://github.com/MalteBoehm/julia_docker-compose_template/blob/main/Dockerfile
My suggestion is to add parameters to PyCall from the very beginning, like Python Version and if should install packages via
environment.yml -> conda env create environment.yml conda activate yourEnviroment
conda env create environment.yml conda activate yourEnviroment
This is the Error i get: `Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f43d5ea5b48 (most recent call first): Current thread 0x00007f84a9e9bb48 (most recent call first):
Hey there currently i´m building a docker julia template i want to share with everyone. https://github.com/MalteBoehm/julia_docker-compose_template
The current issue is that when i install my own python environment, PyCall adds a HOMEPYTHON Env variable which causes a Fatal Python error and its not possible to unset those variables.
See here: https://github.com/MalteBoehm/julia_docker-compose_template/blob/main/Dockerfile
My suggestion is to add parameters to PyCall from the very beginning, like Python Version and if should install packages via
environment.yml ->
conda env create environment.yml conda activate yourEnviroment
This is the Error i get: `Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f43d5ea5b48 (most recent call first): Current thread 0x00007f84a9e9bb48 (most recent call first):