mac安装jupyter

1.通过如下命令进行安装

brew install jupyter

如果mac电脑已安装Python3可以通过如下命令来进行安装

python3 -m pip install --upgrade pip

python3 -m pip install jupyter

如果mac电脑已安装Python2可以通过如下命令来进行安装

python -m pip install --upgrade pip

python -m pip install jupyter


2.启动jupyter

jupyter notebook


3.浏览器访问

localhost:8888


4.自定义端口号

jupyter notebook --port 9999


猜你喜欢

转载自blog.51cto.com/suyanzhu/2394747