Use PythonCall in a package to call from a pre-existing conda environment #560
Unanswered
gabriorizzuti
asked this question in
Q&A
Replies: 1 comment
-
The lines
are only run once, when The settings |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
I’m trying to develop a glue package that exposes some Python functionalities to Julia, and playing around with PythonCall.jl.
I do have a pre-existing conda environment and I’d like to point PythonCall to this environment. So far I was unable to make progress, and I was hoping for some tips.
This is what I tried, after setting an environment variable PYTHON_IN_SOME_CONDA_ENV that points to the afore-mentioned pre-existing conda environment python exe:
I get the following error
ERROR: Python: ModuleNotFoundError: No module named 'some_pkg_in_cond_env'
.I'm pretty sure there are problems with setting the JULIA_PYTHONCALL_EXE, but not so sure how to fix it.
Any help is extremely appreciated!
Beta Was this translation helpful? Give feedback.
All reactions