1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Using conda install within a python script

Discussão em 'Python' iniciado por Stack, Novembro 30, 2025.

  1. Stack

    Stack Membro Participativo

    According to this answer you can import pip from within a Python script and use it to install a module. Is it possible to do this with conda install?

    The conda documentation only shows examples from the command line but I'm looking for code that can be executed from within a Python script.

    Yes, I could execute shell commands from within the script but I am trying to avoid this as it is basically assuming that conda cannot be imported and its functions called.

    Continue reading...

Compartilhe esta Página