search

Home  >  Q&A  >  body text

python3.x - python中的虚拟环境怎样设置一直处于激活状态

如题:python中的虚拟环境怎样设置一直处于激活状态

怪我咯怪我咯2822 days ago477

reply all(4)I'll reply

  • 黄舟

    黄舟2017-04-18 10:34:54

    It is not feasible to activate it all the time. You can only open it through the command line every time. If you are using an IDE, you can keep your program running in the virtual environment. Open the command line under the IDE, it will also use the environment of your choice by default

    reply
    0
  • 黄舟

    黄舟2017-04-18 10:34:54

    Configure in your shell

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:34:54

    Update .bashrc and add corresponding activation commands.

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 10:34:54

    ctrl+c or exit()

    reply
    0
  • Cancelreply