I want to use Anaconda, so refer to the following article Note from installing Homebrew to building an Anaconda environment for Python with pyenv
If you use the graphical installer, you will get a warning like "It may damage your computer", so use pyenv!
However, pyenv did not pass, so refer to this article pyenv is installed, but the pyenv command does not work
Still it didn't work, so uninstall it once
brew uninstall pyenv
Check if python goes through .pyenv
which python
Since the path did not pass, add the following to .zshrc
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
$ echo 'eval "$(pyenv init -)"' >> ~/.zshrc
ipython notebook
Features included by default in Anaconda
Getting Started with iPython notebook
--Execution command
ctrl + enter
: execute
shift + enter
: Execute + next input (usually use this)
--Complementary function
For example, after ʻimport random Press tab at
random.` to complete
Recommended Posts