jupyter notebook安装

### 1.首先将自己的电脑升级到python3

### 安装brew


 

~ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

最好将python升级到3版本

brew install python

mac中升级python可能失败,可以执行

brew install python
export PATH=${PATH}:/usr/local/Cellar/python/3.7.4/bin

alias pip="/usr/local/Cellar/python/3.7.4_1/bin/pip3"

 

alias python="/usr/local/Cellar/python/3.7.4/bin/python3"

 

```

### 2.安装pip

sudo easy_install pip

### 3.安装jupyterlab

pip install jupyterlab

## import numpy 出错的话

pip3 install numpy

 

你可能感兴趣的:(人工智能)