search

Home  >  Q&A  >  body text

python3.x - How does git bash run .bat files?

To activate virtualenv in python3.5 under windows, you need to run the activate.bat script. If you use the git bash command line, what if you run the .bat file?

巴扎黑巴扎黑2806 days ago676

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:36:13

    You can do it directlysource activate, you don’t have to execute activate.bat. As follows


    If you want to execute bat, I guess you should use cmd to enter the window environment first, and then execute bat

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:36:13

    open xx.bat

    reply
    0
  • Cancelreply