[Tutor] Python Error Message

Alan Gauld alan.gauld at yahoo.co.uk
Tue Feb 22 19:31:59 EST 2022


On 22/02/2022 23:27, hs ghs wrote:
> Hi, I've just upgraded to Python 3 and now when I try to run scripts that
> use tkinter I get the following error message:-
> 
> _tkinter.TclError: error getting working directory name: not owner

Can you post a short piece of example code that gives the error.
Its much easier to debug real code than hypothetical.

Also if you have any more to the error message please post
it in its entirety. They usually contain quite a lot of
useful data.

> The error is when I run the scripts using IDLE. When I run from the.
> terminal they are fine.
> 
> All this is being done on a Mac.

I'm not currently a Mac user so I'll refrain on making any guesses.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list