Thonny not working

754 views
Skip to first unread message

Ricardo Gonzalez

unread,
Apr 10, 2018, 10:53:54 PM4/10/18
to thonny

I solve 1 problem 
cmd ‘python’ is not recognized as an internal or external command,
operable program or batch file.

But, I get another 2 problems (Errors thonny.jpg)

What can I do next?
Errors tthonny.jpg

Aivar Annamaa

unread,
Apr 10, 2018, 10:58:48 PM4/10/18
to thonny
Hi!

Are you using Python+Thonny bundle or did you install Thonny and Python separately? 
Did you change the backend from "Tools => Options => Interpreter" ?
Please send me your configuration.ini file (Tools => Open Thonny data folder).

best regards,
Aivar

Ricardo Gonzalez

unread,
Apr 11, 2018, 12:31:35 AM4/11/18
to thonny

I'm learning python from scratch but at the same time, I am looking for a IDE text editor like Atom, to fill my workflow expectation? Goals?, Homework?
 I dont know feels like a hacker.

So, I like so much Thonny but I am not sure if I can get both
Atom (python) 
And 
Thonny (learning proposes) 

I did install thonny first and use it for a 2 weeks, but now I want a to make my own "homework" workflow etc etc with Atom. So I didn't know that python 3 needed to run in command promt (cmd) for Atom. Which wasn't working and the error was 

python’ is not recognized as an internal or external command,
operable program or batch file.

So, I had to reinstall python.exe with checkmark "add path enviroments variables". But when tried to open thonny then i got an error. 

I'm still interested learning from thonny, and doing homework on Atom. 
 
Hope this have a solution








--
You received this message because you are subscribed to the Google Groups "thonny" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thonny+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thonny/56a98530-14c0-4e66-8f1c-6ff3c0c0c0fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aivar Annamaa

unread,
Apr 11, 2018, 4:01:52 PM4/11/18
to tho...@googlegroups.com
I'm not able to replicate your error, but I tried to create a fix anyway. Assuming you are using recent Thonny (2.1.17 or 2.1.16) on Windows, please download following file: https://bitbucket.org/plas/thonny/raw/ac6756b6935b7c6603486d911461465e53709d11/thonny/running.py

You should use this to overwrite existing running.py. By default it is located in C:\Users\<your username>\AppData\Local\Programs\Thonny\Lib\site-packages\thonny)

Regardless of whether this fix works or not, I'd be glad to get more information about the problem so that I can create a proper fix.

Can you please tell me which environment variables you have currently set? You can export these like this:

1) Open System command line (eg. open start menu and type "cmd" + Enter)
2) Note which is the current directory (most likely it is your home folder, eg. C:\Users\Ricardo\)
3) Enter following command:
    set > my_env.txt
4) Locate the file created in previous step. Open it in Notepad and check that it doesn't contain any private information.
5) Send the file to aivar....@gmail.com

This way I can hopefully reproduce the issue and find a fix.

best regards,
Aivar
Reply all
Reply to author
Forward
0 new messages