-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do i make atom run python 3 instead of default 2.7 mac? #1797
Comments
bump |
It is works for me. |
Thank you! Only solution that worked.
Grant
… On Mar 14, 2019, at 10:02 PM, Lokkie Ho ***@***.***> wrote:
#1787 <#1787>
If you want to use Python3 by default, you can open Atom Settings, Atom→Preferences→Open Config Folder, and open.atom/packages/script/lib/grammars/python.coffee, Changing python to python3 under 'Selection Based' and 'File Based', saving it.
It is works for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1797 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aq2h6eA1hDm16UAqLYPZd1iCTw2w6bxGks5vWyljgaJpZM4afL5y>.
|
In my opinion this should be more easily configurable or script should detect whether it is an python2 or python3 script. I'll consider making a patch / pull request for this or at least opening an improvement proposal (issue) for this. |
I did that, now I have the following error:
|
I have seen the other threads on this and it is either not fully explained or just too confusing. i am new! Thank you in advance, for now i just paste "#!/Library/Frameworks/Python.framework/Versions/3.7/bin/python3"
in the top of every .py file and it does it, and im using script. not sure how to permanitly make it run python 3.
The text was updated successfully, but these errors were encountered: