'python3' is not recognized as an internal or external command, operable program or batch file

后端 未结 8 704
猫巷女王i
猫巷女王i 2020-11-29 00:07

I am using Python 3.5.2 version on Windows 7 and tried using python3 app.py. I am getting this error message:

\'python3\' is not recognized as an         


        
相关标签:
8条回答
  • 2020-11-29 00:51

    You can also try this: Go to the path where Python is installed in your system. For me it was something like C:\Users\\Local Settings\Application Data\Programs\Python\Python37 In this folder, you'll find a python executable. Just create a duplicate and rename it to python3. Works every time.

    enter image description here

    0 讨论(0)
  • 2020-11-29 00:57

    For Python 27

    virtualenv -p C:\Python27\python.exe django_concurrent_env
    

    For Pyton36

     virtualenv -p C:\Python36\python.exe django_concurrent_env
    
    0 讨论(0)
提交回复
热议问题