On Saturday, January 18, 2020, I did a clean install of macOS Catalina on my iMac and Macbook pro and updated my work environment, so I'll record the updates. The working environment is mainly Python and Jupyter, TeX a little. This post is Posted to "Hatena" with some modifications and screenshots. I don't think I've seen a photo of Catalina standing up and showing the device icon, so I've uploaded it for reference.
MacBook Pro (Retina, 13-inch, Mid 2014)
iMac (Retina 4K, 21.5-inch, 2017)
I've done this update and I've been able to do it, but I can't. that is,
macOS catalina Clean install according to here: https://st-over.com/pc-environment/macos-catalina/.
First, reinstall Norton and MS-Office, which you are spending money on, and then add your favorite applications.
Norton
Microsoft Office 2016 for Mac
Firefox #browser
Google Chrome #browser
Ricty Diminished #font(Monospaced for programming)
IPAex #font(Japanese for TeX)
CotEditor #Text editor
Atom #Text editor
Google Earth Pro #Virtual globe system
Google Japanese input#Japanese input system
If you are told "I can't open" when trying to start Atom, check "system preferences => Seculity & Privacy => General" from the apple mark. If there is an indication as to whether to allow access to Atom, allow this. (Keep the key mark open)
Command Line Tools When you do'gcc -v', a message such as "Please insert command line tools" will appear and a dialog box for installing command line tools will appear. Install according to this. Or this.
xcode-select --install
Homebrew Copy the following installation script from here: https://brew.sh/index_ja, paste it into the terminal, and execute it.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install gcc #Including gfortran
brew install gawk #Auxiliary programming when using GMT
brew install ghostscript #eps handling
brew install gmt #Drawing: Generic Mapping Tools
Catelina also has Python 3.7, but I want to use the latest version of Python, so I decided to use pyenv.
brew install pyenv
pyenv install -l
pyenv install 3.8.1
pyenv global 3.8.1
The first line is a spell that simplifies the prompt display.
PROMPT="%# "
export PYENV_ROOT=${HOME}/.pyenv
export PATH=${PYENV_ROOT}/bin:$PATH
eval "$(pyenv init -)"
numpy, scipy, matplotlib, pillow, pandas will be standard. In addition, it is convenient to output the calculation result in python to the Excel table to paste it in the word, so put the library related to access to Excel. After that, add sympy, scikit-learn-learn, and seaborn that you often use.
pip3 install --upgrade setuptools
pip3 install --upgrade pip
pip3 install numpy #Numerical calculation library
pip3 install scipy #Library for numerical analysis
pip3 install matplotlib #Graph creation library
pip3 install pillow #Image processing library
pip3 install pandas #Library for data processing support
pip3 install xlrd #Excel data reading library
pip3 install xlwt #Excel data writing library
pip3 install openpyxl #Excel data reading and writing
pip3 install sympy #Library for symbol calculation
pip3 install scikit-learn #sklearn
pip3 install seaborn #seaborn
Jupyter Notebook Jupyter is also installed with pip.
pip3 install jupyter
pip3 install jupyterthemes
Change the theme, font size, cell width, and line spacing as follows. I like oceans16 so I set it. The characters should be a little large, the line spacing should be a little tight, and the cell width should be wide.
jt -l
Available Themes:
chesterish
grade3
gruvboxd
gruvboxl
monokai
oceans16
onedork
solarizedd
solarizedl
jt -t oceans16 -fs 12 -ofs 12 -cellw 1200 -lineh 120 -N -T
Set the line number to the default display according to this: https://qiita.com/pollenjp/items/88600df83448a8ff5ea6.
BasicTex Business reports must be ward, but technical documentation containing personal formulas would still be TeX. It is also convenient to type formulas in TeX for posting on Qiita and Hatena blogs.
Install according to here: https://qiita.com/yaplus/items/55fa6957c1b15dbcf387. The path "/ Library / TeX / texbin" seems to be added automatically. It seems that "mktexlsr" is also executed automatically.
that's all
Recommended Posts