issue discription

在一台电脑上同时安装了python2.7和python3.5,怎样在这两个版本中切换调用?

solution to the issue

  1. 进入python安装文件夹,将 python.exe 文件分别改名为 python27.exepython35.exe

  2. 在终端(我用的是powershell)调用时用下述命令:
    python27 filename
    python35 filename
    即可在两种中版本中进行切换





相关文章:

  • 2021-08-12
  • 2021-08-01
  • 2023-02-22
  • 2021-10-28
  • 2022-12-23
  • 2021-11-02
  • 2021-12-17
  • 2021-06-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2021-04-09
  • 2021-10-11
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案