I just installed Python3 and Komodo. I'm trying vĩ đại lập cập a simple script but am getting the error that the py: command not found. I'm completly new vĩ đại both Komodo and Python so sánh don't know where vĩ đại look. I saw a another post with the same problem but not a solution that helped. I have Python3 installed and verified from terminal command. Any help is greatly appreciated!

gpxlcj

3774 silver badges14 bronze badges

asked Nov 9, 2018 at 22:17

3

  • 4

    instead of py use python or python3

    Commented Nov 9, 2018 at 22:20

  • As far as I know, py is just a wrapper for Windows. It's not a standard Python binary name.

    Commented Nov 9, 2018 at 22:21

2 Answers

You are trying vĩ đại lập cập your script using py which is not a valid command on your system, hence the error. Try:

python3 script.py

answered Nov 9, 2018 at 22:20

2

  • The training đoạn Clip I was watching said that py was a special command vĩ đại lập cập the python interpreter. Whatever that means. I replaced py with python3 and it worked fine. Not sure what the đoạn Clip was trying vĩ đại tự. Thanks for the help!

    Commented Nov 9, 2018 at 23:32

  • 2

    Author must be using Windows OS because py is just a wrapper around python command in Windows systems.

    Commented Nov 10, 2018 at 2:55

Try replacing py"%F" with python3 %F when you create the lập cập command.

answered Dec 13, 2019 at 3:58

Your Answer

Sign up or log in

Sign up using Google

Sign up using Thư điện tử and Password

Post as a guest

Required, but never shown