today's plan is to follow 《head first python》to do some simple programming with python on my own PC, but met problem one first step which is i cannot find IDLE on my PC, so insdead of finding another editor I made a silly decision which is update my Mac system...
So when I got the updating remaining time I think I need to change plan today
And thank got I did some simple try on my company's PC which gave me some first understanding about python and i made myself a heart
Do not do system update before go to sleepjust like all othe programming language it can be romantic and fun
after that I found the turtle model which allows you to draw something on a canvas very similar with CSS fun and simple but not sure if it is useful or not
No idea if I can be still awake after the installation finished as today I caucht cold and need to go to bed early
if the updation is faster than I think I really want to at least find an editor to make sure I can do something directly tomorrow and also give another try with mysql installation
But seems I really need to go to bed
So that is all for day2
OK, I got up from bed and checked my PC after update complete
And found homebrew doesn't work and get a
Error: Failure while executing; `git config --local --replace-all homebrew.private true` exited with 1.
This seems sucks and I googled there is a cmd can check what is wrong with your homebrew
brew doctor
Tried it but simply got some warning and still cannot solve the problem
After further investigation I finally found the root cause is Mac will automatically uninstall xcode after each update
so you need to install it back by
xcode-select --install
And the installation takes a long time, and today's LL is definitely: Do NOT do system update before go to bed...
By the way, during the installation of xcode I searched python 3 on my PC and find some .py file when I trying to open them I finally find the IDLE3
So I did my first try and found the syntax is really strict especially with space
After corrected everything and ran successfully with my first manually inputed python, and successfully fixed the homebrew problem
I finally can go to bed
网友评论