is it possible to call pip install of some python package from Julia code #98
Answered
by
icweaver
jakubMitura14
asked this question in
Q&A
-
is it possible to call pip install of some python package from Julia code? For Example I would like to use monai (not available on conda as far as I know). |
Beta Was this translation helpful? Give feedback.
Answered by
icweaver
Jan 17, 2022
Replies: 1 comment 1 reply
-
I think CondaPkg.jl uses the conda-forge channel by default, which looks to have using PythonCall, CondaPkg
CondaPkg.add.("monai"); CondaPkg.resolve()
@py import monai
monai
# Python module: <module 'monai' from '/home/mango/Projects/scratch/.CondaPkg/env/lib/python3.9/site-packages/monai/__init__.py'> And you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cjdoris
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think CondaPkg.jl uses the conda-forge channel by default, which looks to have
monai
:And you can use
CondaPkg.add_pip
to usepip
if you want, but I don't think it is recommended