Timeline for Python code runs in Thonny correctly but does not work in terminal
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 14, 2019 at 4:22 | comment | added | frostshoxx | Turned out @aivar's comment was the solution to my issue similar to the OP | |
Mar 21, 2018 at 0:31 | vote | accept | dka13 | ||
Mar 18, 2018 at 17:54 | comment | added | Aivar |
How did you run the code in the terminal? The command python uses Python 2 and python3 uses Python 3.
|
|
Mar 18, 2018 at 17:35 | comment | added | dka13 | Is there a way to make sure it uses Python 3 in the terminal? | |
Mar 18, 2018 at 15:00 | comment | added | Aivar | This means, you used Python 2 in the Terminal. Thonny uses Python 3. | |
Mar 18, 2018 at 4:47 | history | answered | dka13 | CC BY-SA 3.0 |