“NameError” “is not defined” script that I know works on other computers - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: “NameError” “is not defined” script that I know works on other computers (/thread-31129.html) |
“NameError” “is not defined” script that I know works on other computers - iamwithstupid - Nov-24-2020 This question isn't that much about coding since the scripts seem to work on Win10. I only have troubles trying to run them on my mac. Some background: I installed some Python versions earlier when I tried to learn some basic coding but after getting errors running these scripts I uninstalled everything (except osx-included 2.7.16) But I still got the same outcome. Here are some links to the scripts/apps: https://github.com/corpnewt/ProperTree https://github.com/corpnewt/CPUFriendFriend I know the ProperTree uses Tkinter but executing the .command this is all I get. CPUFriendsFriend.command and get similar error: Could it be a problem with the installation Python/Tkinter ?I tried google "nameError: global name is not defined"... and directs me to different coding forums where people having problems with their scripts... But I hardly think that the coders of ProperTree, CPUFriendFriend done anything wrong... I would be very thankful for any help. Oh I'm on Catalina 10.15.7 by the way. Thanks |