[ full error ]
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
/usr/bin/python: can't find '__main__' module in ''
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u ""]
[dir: /Applications/Sublime Text.app/Contents/MacOS]
[path: /Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands]
all I did was print ('hello world!')
But a while ago I tried to install/update a new version of python. I am trying to learn to code, a while back I did one course and now I am enrolled in another and wanted to have the latest version of python. when I installed python 3.8.2 i started having an issue. Even downloaded my first IDE - pycharm and also has some issues. But trying to tackle one problem at a time. Using Mac OS By the way!
I see the error PS1="$(tput setaf 2)[\w] \n $(tput setaf 196)$(tput sgr0)~: " For a better holder of your PS profile I recommend you use PS1="\033[32m][\w] \n \033[0m]~: "
tput is usually used when coding for linux based OS, as your on Mac OS it will accept the command but also interfere with other things. Best use the original commands for for bash as I have suggested.