Closed deszoeke closed 1 year ago
I resolved my problem with two steps.
.bash_profile
. It exports many environment variables like CONDA_EXE, prepends ~/mambaforge/bin
to the path and runs mamba.sh
. Basically, I now run julia in a regular shell not from a mamba/conda environment (not even base
).This did not fix the problem with python dependencies. It might have helped to build the dependencies properly in step 2.
.julia/
compiled
conda
artifacts
clones
packages
registries
scratchspaces
Then I was able to add and build PyCall, pyimport("numpy")
, ]add PyPlot
, and use it.
I recently installed mamba (conda would not solve). Perhaps mamba interferes with .julia/conda, but I'm not sure. Using or
pyimport
ing packages likenumpy
andmatplotlib
causes hangs or crashes.Here's what I do:
Recursively remove
.julia/conda
.Do these env variables conflict with .julia/conda? If so, how should I use mamba outside, and .juila/conda inside julia?
(julia v1.8.5 behaves the same.)
Restart julia.
Restart julia.
hangs or dies with
Killed: 9
.