OS: Debian 9
Python: 3.5.3
Title error encountered when I add ' #! python3 ' in .py file as 1st line. Seems lost the path. As I installed python 3 already, so check its path with 'which' command:
peter@Debian:~$ which python3
/usr/bin/python3
Python: 3.5.3
Title error encountered when I add ' #! python3 ' in .py file as 1st line. Seems lost the path. As I installed python 3 already, so check its path with 'which' command:
peter@Debian:~$ which python3
/usr/bin/python3
Then replace it with absolute path '#! /usr/bin/python3'. Pass!
Comments
Post a Comment