My MacBook Pro has arrived at my house. You've come often, welcome. I was impressed because I used a MacBook Air with 4 GB of memory until just a few days ago. I `ll stick it~. So, I think it's the nth decoction, but I'll write down the software I put in and the environment construction instead of a memo.
After all, refer to this. → "Your terminal is not good" I use black letters (Ritchy) on the back of Japanese paper. You don't have to get tired of your eyes.
~ / .bashrc
, it just became
\ u \ W %` ``to
.zshrc` and finish$ xcode-select --install
From Homebrew Official HP
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
wget
$ brew install wget
miniconda I want to manage various things by myself, so I will do it in the miniconda environment instead of anaconda.
Miniconda3 MacOSX 64-bit bash
from Official HP
$ cd ~/Downloads
$ bash Miniconda3-latest-MacOSX-x86_64.sh
$ conda -V #conda version check
$ python -V #Python version check
$ conda install -c conda-forge numpy
Like this, it basically pulls from conda-forge. If there is no package, we will respond accordingly. What I put in for the time being
Well, let's put the rest each time.
R Torima latest ver.4.0.2. Dropped from Cran page. Then install normally. Recently, I'm using R on Jupyter, so I can't install RStudio.
Julia Let's include Julia as well. From Official HP. Go to the download page and drop it. It's still a young language, so it may have changed a lot. So the latest version (v1.5.1). Then install normally.
$ exec '/Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia'
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.1 (2020-08-25)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia>
did it.
Jupyter
$ conda install jupyter
I want to be able to use R and Julia as well as Python with jupyter notebook. Confirm.
$ jupyter kernelspec list
python3 /Users/user/miniconda3/share/jupyter/kernels/python3
Since it is not included, set it. Julia Reference: Procedure to enable Julia on Jupyter Notebook on macOS Start Julia,
(@v1.5) pkg> add IJulia
R Reference: Use R with Jupyter.
$ R
> install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
> devtools::install_github('IRkernel/IRkernel')
> IRkernel::installspec()
How about this.
$ jupyter kernelspec list
Available kernels:
ir /Users/yamauchi/Library/Jupyter/kernels/ir
julia-1.5 /Users/yamauchi/Library/Jupyter/kernels/julia-1.5
python3 /Users/yamauchi/miniconda3/share/jupyter/kernels/python3
When I launch it ...
$ jupyter notebook
It's in! OK.
I think this kind of article is deadly upward compatible, but please forgive me. .. ..
Recommended Posts