Quantcast
Channel: Specify Python3 to Atom on Windows 10 - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Specify Python3 to Atom on Windows 10

$
0
0

In advance, sorry if this is question ought be on SuperUser or another site

The python3 shebang doesn't seem to work on win10. (I cant check right now, but I believe the analogous approach worked on MacOS for me last night). Consider the following

#!/usr/bin/env python3print("hello world")

Leads to the error 'python' is not recognized as an internal or external command,operable program or batch file. This makes sense because I only have a python3 distro on my machine (which can only be called like python3). However, Atom seems to be ignoring the shebang altogether. FYI, I'm running the script with the popular "script" atom package.

I've tried the permutation, #!/usr/bin python3, but this doesn't work either.

I've tried permutations


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images