MacOS使用brew 安装miniconda
brew install miniconda
$ brew install miniconda
==> Caveats
Please run the following to setup your shell:
conda init "$(basename "${SHELL}")"
==> Downloading https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-MacOS
==> Installing Cask miniconda
==> Running installer script 'Miniconda3-py39_4.11.0-MacOSX-x86_64.sh'
PREFIX=/usr/local/Caskroom/miniconda/base
Unpacking payload ...
Extracting : cffi-1.15.0-py39hc55c11b_1.conda: 0%| | 0/35 [00:00<?, ?Extracting : cffi-1.15.0-py39hc55c11b_1.conda: 3%|▎ | 1/35 [00:00<00:2Extracting : certifi-2021.10.8-py39hecd8cb5_2.conda: 3%|▎ | 1/35 [00:0Extracting : libffi-3.3-hb1e8313_2.conda: 6%|▌ | 2/35 [00:00<00:23, 1Extracting : python-3.9.7-h88f2d9e_1.conda: 9%|▊ | 3/35 [00:04<00:23, Extracting : python-3.9.7-h88f2d9e_1.conda: 11%|█▏ | 4/35 [00:04<00:36, Extracting : ruamel_yaml-0.15.100-py39h9ed2024_0.conda: 11%|█▏ | 4/35 [0Extracting : urllib3-1.26.7-pyhd3eb1b0_0.conda: 14%|█▍ | 5/35 [00:04<00:Extracting : requests-2.27.1-pyhd3eb1b0_0.conda: 17%|█▋ | 6/35 [00:04<00Extracting : setuptools-58.0.4-py39hecd8cb5_0.conda: 20%|██ | 7/35 [00:0Extracting : six-1.16.0-pyhd3eb1b0_0.conda: 23%|██▎ | 8/35 [00:04<00:31, Extracting : pysocks-1.7.1-py39hecd8cb5_0.conda: 26%|██▌ | 9/35 [00:04<00Extracting : ca-certificates-2021.10.26-hecd8cb5_2.conda: 29%|██▊ | 10/35Extracting : ncurses-6.3-hca72f7f_2.conda: 31%|███▏ | 11/35 [00:04<00:28, Extracting : wheel-0.37.1-pyhd3eb1b0_0.conda: 34%|███▍ | 12/35 [00:04<00:2Extracting : brotlipy-0.7.0-py39h9ed2024_1003.conda: 37%|███▋ | 13/35 [00:Extracting : charset-normalizer-2.0.4-pyhd3eb1b0_0.conda: 40%|████ | 14/35Extracting : tk-8.6.11-h7bc2e8c_0.conda: 43%|████▎ | 15/35 [00:04<00:23, 1Extracting : pycosat-0.6.3-py39h9ed2024_0.conda: 46%|████▌ | 16/35 [00:04<0Extracting : conda-4.11.0-py39hecd8cb5_0.conda: 49%|████▊ | 17/35 [00:05<00Extracting : conda-4.11.0-py39hecd8cb5_0.conda: 51%|█████▏ | 18/35 [00:05<00Extracting : readline-8.1.2-hca72f7f_1.conda: 51%|█████▏ | 18/35 [00:05<00:0Extracting : pycparser-2.21-pyhd3eb1b0_0.conda: 54%|█████▍ | 19/35 [00:05<00Extracting : conda-package-handling-1.7.3-py39h9ed2024_1.conda: 57%|█████▋ |Extracting : pip-21.2.4-py39hecd8cb5_0.conda: 60%|██████ | 21/35 [00:05<00:0Extracting : tzdata-2021e-hda174b7_0.conda: 63%|██████▎ | 22/35 [00:05<00:03,Extracting : tqdm-4.62.3-pyhd3eb1b0_1.conda: 66%|██████▌ | 23/35 [00:05<00:03Extracting : cryptography-36.0.0-py39hf6deb26_0.conda: 69%|██████▊ | 24/35 [0Extracting : pyopenssl-21.0.0-pyhd3eb1b0_1.conda: 71%|███████▏ | 25/35 [00:05<Extracting : openssl-1.1.1m-hca72f7f_0.conda: 74%|███████▍ | 26/35 [00:05<00:0Extracting : python.app-3-py39hca72f7f_0.conda: 77%|███████▋ | 27/35 [00:05<00Extracting : sqlite-3.37.0-h707629a_0.conda: 80%|████████ | 28/35 [00:05<00:01Extracting : conda-content-trust-0.1.1-pyhd3eb1b0_0.conda: 83%|████████▎ | 29/3Extracting : idna-3.3-pyhd3eb1b0_0.conda: 86%|████████▌ | 30/35 [00:05<00:01, Extracting : zlib-1.2.11-h4dc903c_4.conda: 89%|████████▊ | 31/35 [00:05<00:01, Extracting : xz-5.2.5-h1de35cc_0.conda: 91%|█████████▏| 32/35 [00:05<00:00, 3.Extracting : libcxx-12.0.0-h2f01273_0.conda: 94%|█████████▍| 33/35 [00:05<00:00Extracting : yaml-0.2.5-haf1e3a3_0.conda: 97%|█████████▋| 34/35 [00:05<00:00, Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
environment location: /usr/local/Caskroom/miniconda/base
added / updated specs:
- brotlipy==0.7.0=py39h9ed2024_1003
- ca-certificates==2021.10.26=hecd8cb5_2
- certifi==2021.10.8=py39hecd8cb5_2
- cffi==1.15.0=py39hc55c11b_1
- charset-normalizer==2.0.4=pyhd3eb1b0_0
- conda-content-trust==0.1.1=pyhd3eb1b0_0
- conda-package-handling==1.7.3=py39h9ed2024_1
- conda==4.11.0=py39hecd8cb5_0
- cryptography==36.0.0=py39hf6deb26_0
- idna==3.3=pyhd3eb1b0_0
- libcxx==12.0.0=h2f01273_0
- libffi==3.3=hb1e8313_2
- ncurses==6.3=hca72f7f_2
- openssl==1.1.1m=hca72f7f_0
- pip==21.2.4=py39hecd8cb5_0
- pycosat==0.6.3=py39h9ed2024_0
- pycparser==2.21=pyhd3eb1b0_0
- pyopenssl==21.0.0=pyhd3eb1b0_1
- pysocks==1.7.1=py39hecd8cb5_0
- python.app==3=py39hca72f7f_0
- python==3.9.7=h88f2d9e_1
- readline==8.1.2=hca72f7f_1
- requests==2.27.1=pyhd3eb1b0_0
- ruamel_yaml==0.15.100=py39h9ed2024_0
- setuptools==58.0.4=py39hecd8cb5_0
- six==1.16.0=pyhd3eb1b0_0
- sqlite==3.37.0=h707629a_0
- tk==8.6.11=h7bc2e8c_0
- tqdm==4.62.3=pyhd3eb1b0_1
- tzdata==2021e=hda174b7_0
- urllib3==1.26.7=pyhd3eb1b0_0
- wheel==0.37.1=pyhd3eb1b0_0
- xz==5.2.5=h1de35cc_0
- yaml==0.2.5=haf1e3a3_0
- zlib==1.2.11=h4dc903c_4
The following NEW packages will be INSTALLED:
brotlipy pkgs/main/osx-64::brotlipy-0.7.0-py39h9ed2024_1003
ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
certifi pkgs/main/osx-64::certifi-2021.10.8-py39hecd8cb5_2
cffi pkgs/main/osx-64::cffi-1.15.0-py39hc55c11b_1
charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
conda pkgs/main/osx-64::conda-4.11.0-py39hecd8cb5_0
conda-content-tru~ pkgs/main/noarch::conda-content-trust-0.1.1-pyhd3eb1b0_0
conda-package-han~ pkgs/main/osx-64::conda-package-handling-1.7.3-py39h9ed2024_1
cryptography pkgs/main/osx-64::cryptography-36.0.0-py39hf6deb26_0
idna pkgs/main/noarch::idna-3.3-pyhd3eb1b0_0
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.3-hca72f7f_2
openssl pkgs/main/osx-64::openssl-1.1.1m-hca72f7f_0
pip pkgs/main/osx-64::pip-21.2.4-py39hecd8cb5_0
pycosat pkgs/main/osx-64::pycosat-0.6.3-py39h9ed2024_0
pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
pyopenssl pkgs/main/noarch::pyopenssl-21.0.0-pyhd3eb1b0_1
pysocks pkgs/main/osx-64::pysocks-1.7.1-py39hecd8cb5_0
python pkgs/main/osx-64::python-3.9.7-h88f2d9e_1
python.app pkgs/main/osx-64::python.app-3-py39hca72f7f_0
readline pkgs/main/osx-64::readline-8.1.2-hca72f7f_1
requests pkgs/main/noarch::requests-2.27.1-pyhd3eb1b0_0
ruamel_yaml pkgs/main/osx-64::ruamel_yaml-0.15.100-py39h9ed2024_0
setuptools pkgs/main/osx-64::setuptools-58.0.4-py39hecd8cb5_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_0
sqlite pkgs/main/osx-64::sqlite-3.37.0-h707629a_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
tqdm pkgs/main/noarch::tqdm-4.62.3-pyhd3eb1b0_1
tzdata pkgs/main/noarch::tzdata-2021e-hda174b7_0
urllib3 pkgs/main/noarch::urllib3-1.26.7-pyhd3eb1b0_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
yaml pkgs/main/osx-64::yaml-0.2.5-haf1e3a3_0
zlib pkgs/main/osx-64::zlib-1.2.11-h4dc903c_4
Preparing transaction: ...working... done
Executing transaction: ...working...
done
installation finished.
==> Linking Binary 'conda' to '/usr/local/bin/conda'
🍺 miniconda was successfully installed!
brew info miniconda
$ brew info miniconda
miniconda: py39_4.11.0 (auto_updates)
https://conda.io/miniconda.html
/usr/local/Caskroom/miniconda/py39_4.11.0 (55.2MB)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/miniconda.rb
==> Name
Continuum Analytics Miniconda
==> Description
Minimal installer for conda
==> Artifacts
Miniconda3-py39_4.11.0-MacOSX-x86_64.sh (Installer)
/usr/local/Caskroom/miniconda/base/condabin/conda (Binary)
==> Caveats
Please run the following to setup your shell:
conda init "$(basename "${SHELL}")"
==> Analytics
install: 2,398 (30 days), 6,800 (90 days), 24,062 (365 days)
更换国内源
$ cd ~
$ vim .condarc
channels:
- defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
~
~
~
~
~
:wq
创建虚拟环境
$ conda create -n TensorFlow2 -y
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.11.0
latest version: 4.12.0
Please update conda by running
$ conda update -n base -c defaults conda
environment location: /usr/local/Caskroom/miniconda/base/envs/TensorFlow2
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ conda env list
base * /usr/local/Caskroom/miniconda/base
TensorFlow2 /usr/local/Caskroom/miniconda/base/envs/TensorFlow2
激活虚拟环境
$ conda activate TensorFlow2
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
执行 conda init
$ conda init
$ conda activate TensorFlow2
虚拟环境安装
$ conda install pip
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.11.0
latest version: 4.12.0
Please update conda by running
$ conda update -n base -c defaults conda
environment location: /usr/local/Caskroom/miniconda/base/envs/TensorFlow2
added / updated specs:
- pip
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2022.3.29 | hecd8cb5_0 118 KB defaults
openssl-1.1.1n | hca72f7f_0 2.2 MB defaults
python-3.9.11 | hdfd78df_2 10.3 MB defaults
sqlite-3.38.2 | h707629a_0 1.2 MB defaults
tzdata-2022a | hda174b7_0 109 KB defaults
------------------------------------------------------------
Total: 13.9 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/osx-64::ca-certificates-2022.3.29-hecd8cb5_0
certifi pkgs/main/osx-64::certifi-2021.10.8-py39hecd8cb5_2
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.3-hca72f7f_2
openssl pkgs/main/osx-64::openssl-1.1.1n-hca72f7f_0
pip pkgs/main/osx-64::pip-21.2.4-py39hecd8cb5_0
python pkgs/main/osx-64::python-3.9.11-hdfd78df_2
readline pkgs/main/osx-64::readline-8.1.2-hca72f7f_1
setuptools pkgs/main/osx-64::setuptools-58.0.4-py39hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.38.2-h707629a_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
tzdata pkgs/main/noarch::tzdata-2022a-hda174b7_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h4dc903c_4
Proceed ([y]/n)? y
Downloading and Extracting Packages
ca-certificates-2022 | 118 KB |
python-3.9.11 | 10.3 MB |
tzdata-2022a | 109 KB |
sqlite-3.38.2 | 1.2 MB |
openssl-1.1.1n | 2.2 MB |
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ pip install numpy
Collecting numpy
Downloading numpy-1.22.3-cp39-cp39-macosx_10_14_x86_64.whl (17.6 MB)
|████████████████████████████████| 17.6 MB 176 kB/s
Installing collected packages: numpy
Successfully installed numpy-1.22.3
$ pip install jupyter notebook
Collecting jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting notebook
Downloading notebook-6.4.10-py3-none-any.whl (9.9 MB)
|████████████████████████████████| 9.9 MB 2.6 MB/s
Collecting ipykernel
Downloading ipykernel-6.11.0-py3-none-any.whl (130 kB)
|████████████████████████████████| 130 kB 5.7 MB/s
Collecting ipywidgets
Downloading ipywidgets-7.7.0-py2.py3-none-any.whl (123 kB)
|████████████████████████████████| 123 kB 4.2 MB/s
Collecting nbconvert
Downloading nbconvert-6.4.5-py3-none-any.whl (561 kB)
|████████████████████████████████| 561 kB 6.4 MB/s
Collecting qtconsole
Downloading qtconsole-5.3.0-py3-none-any.whl (120 kB)
|████████████████████████████████| 120 kB 2.9 MB/s
Collecting jupyter-console
Downloading jupyter_console-6.4.3-py3-none-any.whl (22 kB)
Collecting prometheus-client
Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 2.2 MB/s
Collecting tornado>=6.1
Downloading tornado-6.1-cp39-cp39-macosx_10_9_x86_64.whl (416 kB)
|████████████████████████████████| 416 kB 3.0 MB/s
Collecting terminado>=0.8.3
Downloading terminado-0.13.3-py3-none-any.whl (14 kB)
Collecting Send2Trash>=1.8.0
Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting traitlets>=4.2.1
Downloading traitlets-5.1.1-py3-none-any.whl (102 kB)
|████████████████████████████████| 102 kB 2.1 MB/s
Collecting argon2-cffi
Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting ipython-genutils
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jupyter-client>=5.3.4
Downloading jupyter_client-7.2.1-py3-none-any.whl (130 kB)
|████████████████████████████████| 130 kB 6.3 MB/s
Collecting nest-asyncio>=1.5
Downloading nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
Collecting jupyter-core>=4.6.1
Downloading jupyter_core-4.9.2-py3-none-any.whl (86 kB)
|████████████████████████████████| 86 kB 2.6 MB/s
Collecting nbformat
Downloading nbformat-5.2.0-py3-none-any.whl (74 kB)
|████████████████████████████████| 74 kB 1.7 MB/s
Collecting jinja2
Downloading Jinja2-3.1.1-py3-none-any.whl (132 kB)
|████████████████████████████████| 132 kB 3.4 MB/s
Collecting pyzmq>=17
Downloading pyzmq-22.3.0-cp39-cp39-macosx_10_15_universal2.whl (2.0 MB)
|████████████████████████████████| 2.0 MB 3.9 MB/s
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting python-dateutil>=2.8.2
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
|████████████████████████████████| 247 kB 4.9 MB/s
Collecting pandocfilters>=1.4.1
Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting bleach
Downloading bleach-4.1.0-py2.py3-none-any.whl (157 kB)
|████████████████████████████████| 157 kB 6.1 MB/s
Collecting defusedxml
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting mistune<2,>=0.8.1
Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl (13 kB)
Collecting beautifulsoup4
Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
|████████████████████████████████| 97 kB 2.8 MB/s
Collecting testpath
Downloading testpath-0.6.0-py3-none-any.whl (83 kB)
|████████████████████████████████| 83 kB 1.5 MB/s
Collecting nbclient<0.6.0,>=0.5.0
Downloading nbclient-0.5.13-py3-none-any.whl (70 kB)
|████████████████████████████████| 70 kB 3.5 MB/s
Collecting jupyterlab-pygments
Downloading jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting pygments>=2.4.1
Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 6.5 MB/s
Collecting jsonschema!=2.5.0,>=2.4
Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB)
|████████████████████████████████| 72 kB 712 kB/s
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.18.1-cp39-cp39-macosx_10_9_universal2.whl (81 kB)
|████████████████████████████████| 81 kB 2.9 MB/s
Collecting attrs>=17.4.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
|████████████████████████████████| 60 kB 2.6 MB/s
Collecting six>=1.5
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting ptyprocess
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting argon2-cffi-bindings
Downloading argon2_cffi_bindings-21.2.0-cp38-abi3-macosx_10_9_universal2.whl (53 kB)
|████████████████████████████████| 53 kB 835 kB/s
Collecting cffi>=1.0.1
Downloading cffi-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl (178 kB)
|████████████████████████████████| 178 kB 710 kB/s
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 4.4 MB/s
Collecting soupsieve>1.2
Downloading soupsieve-2.3.1-py3-none-any.whl (37 kB)
Collecting webencodings
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting packaging
Downloading packaging-21.3-py3-none-any.whl (40 kB)
|████████████████████████████████| 40 kB 2.2 MB/s
Collecting appnope
Downloading appnope-0.1.2-py2.py3-none-any.whl (4.3 kB)
Collecting psutil
Downloading psutil-5.9.0-cp39-cp39-macosx_10_9_x86_64.whl (238 kB)
|████████████████████████████████| 238 kB 3.5 MB/s
Collecting debugpy>=1.0
Downloading debugpy-1.6.0-cp39-cp39-macosx_10_15_x86_64.whl (1.7 MB)
|████████████████████████████████| 1.7 MB 3.7 MB/s
Collecting ipython>=7.23.1
Downloading ipython-8.2.0-py3-none-any.whl (750 kB)
|████████████████████████████████| 750 kB 3.7 MB/s
Collecting setuptools>=60
Downloading setuptools-61.3.0-py3-none-any.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 3.4 MB/s
Collecting matplotlib-inline>=0.1
Downloading matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting stack-data
Downloading stack_data-0.2.0-py3-none-any.whl (21 kB)
Collecting jedi>=0.16
Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 3.6 MB/s
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Downloading prompt_toolkit-3.0.28-py3-none-any.whl (380 kB)
|████████████████████████████████| 380 kB 2.0 MB/s
Collecting pexpect>4.3
Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
|████████████████████████████████| 59 kB 1.8 MB/s
Collecting decorator
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting backcall
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting pickleshare
Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting parso<0.9.0,>=0.8.0
Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB)
|████████████████████████████████| 100 kB 2.2 MB/s
Collecting wcwidth
Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting jupyterlab-widgets>=1.0.0
Downloading jupyterlab_widgets-1.1.0-py3-none-any.whl (245 kB)
|████████████████████████████████| 245 kB 2.2 MB/s
Collecting widgetsnbextension~=3.6.0
Downloading widgetsnbextension-3.6.0-py2.py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 3.2 MB/s
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB)
|████████████████████████████████| 98 kB 2.0 MB/s
Collecting qtpy>=2.0.1
Downloading QtPy-2.0.1-py3-none-any.whl (65 kB)
|████████████████████████████████| 65 kB 2.1 MB/s
Collecting asttokens
Downloading asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Collecting pure-eval
Downloading pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting executing
Downloading executing-0.8.3-py2.py3-none-any.whl (16 kB)
Installing collected packages: traitlets, six, pyrsistent, attrs, wcwidth, tornado, pyzmq, python-dateutil, pyparsing, pycparser, pure-eval, ptyprocess, parso, nest-asyncio, jupyter-core, jsonschema, executing, entrypoints, asttokens, webencodings, stack-data, soupsieve, setuptools, pygments, prompt-toolkit, pickleshare, pexpect, packaging, nbformat, matplotlib-inline, MarkupSafe, jupyter-client, jedi, decorator, cffi, backcall, appnope, testpath, psutil, pandocfilters, nbclient, mistune, jupyterlab-pygments, jinja2, ipython, defusedxml, debugpy, bleach, beautifulsoup4, argon2-cffi-bindings, terminado, Send2Trash, prometheus-client, nbconvert, ipython-genutils, ipykernel, argon2-cffi, notebook, widgetsnbextension, qtpy, jupyterlab-widgets, qtconsole, jupyter-console, ipywidgets, jupyter
Attempting uninstall: setuptools
Found existing installation: setuptools 58.0.4
Uninstalling setuptools-58.0.4:
Successfully uninstalled setuptools-58.0.4
Successfully installed MarkupSafe-2.1.1 Send2Trash-1.8.0 appnope-0.1.2 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.0.5 attrs-21.4.0 backcall-0.2.0 beautifulsoup4-4.10.0 bleach-4.1.0 cffi-1.15.0 debugpy-1.6.0 decorator-5.1.1 defusedxml-0.7.1 entrypoints-0.4 executing-0.8.3 ipykernel-6.11.0 ipython-8.2.0 ipython-genutils-0.2.0 ipywidgets-7.7.0 jedi-0.18.1 jinja2-3.1.1 jsonschema-4.4.0 jupyter-1.0.0 jupyter-client-7.2.1 jupyter-console-6.4.3 jupyter-core-4.9.2 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.1.0 matplotlib-inline-0.1.3 mistune-0.8.4 nbclient-0.5.13 nbconvert-6.4.5 nbformat-5.2.0 nest-asyncio-1.5.4 notebook-6.4.10 packaging-21.3 pandocfilters-1.5.0 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 prometheus-client-0.13.1 prompt-toolkit-3.0.28 psutil-5.9.0 ptyprocess-0.7.0 pure-eval-0.2.2 pycparser-2.21 pygments-2.11.2 pyparsing-3.0.7 pyrsistent-0.18.1 python-dateutil-2.8.2 pyzmq-22.3.0 qtconsole-5.3.0 qtpy-2.0.1 setuptools-61.3.0 six-1.16.0 soupsieve-2.3.1 stack-data-0.2.0 terminado-0.13.3 testpath-0.6.0 tornado-6.1 traitlets-5.1.1 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.6.0
pip install jupyter_contrib_nbextensions autopep8 -i "https://mirrors.aliyun.com/pypi/simple"
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting jupyter_contrib_nbextensions
Downloading https://mirrors.aliyun.com/pypi/packages/33/f0/6e2c00afda860f655fbf0f795f7310bdbf12122846344dfdc803fc7455d5/jupyter_contrib_nbextensions-0.5.1-py2.py3-none-any.whl (20.9 MB)
|████████████████████████████████| 20.9 MB 1.6 MB/s
Collecting autopep8
Downloading https://mirrors.aliyun.com/pypi/packages/39/3a/cd60ecce0d9737efefc06a074ae280a5d0e904d697fe59b414bf8ab5c472/autopep8-1.6.0-py2.py3-none-any.whl (45 kB)
|████████████████████████████████| 45 kB 757 kB/s
Requirement already satisfied: tornado in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (6.1)
Requirement already satisfied: traitlets>=4.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (5.1.1)
Requirement already satisfied: nbconvert>=4.2 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (6.4.5)
Collecting jupyter-nbextensions-configurator>=0.4.0
Downloading https://mirrors.aliyun.com/pypi/packages/51/a3/d72d5f2dc10c5ccf5a6f4c79f636bf071a5ce462dedd07af2f70384db6cb/jupyter_nbextensions_configurator-0.4.1.tar.gz (479 kB)
|████████████████████████████████| 479 kB 1.4 MB/s
Collecting jupyter-highlight-selected-word>=0.1.1
Downloading https://mirrors.aliyun.com/pypi/packages/50/d7/19ab7cfd60bf268d2abbacc52d4295a40f52d74dfc0d938e4761ee5e598b/jupyter_highlight_selected_word-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting pyyaml
Downloading https://mirrors.aliyun.com/pypi/packages/f5/6f/b8b4515346af7c33d3b07cd8ca8ea0700ca72e8d7a750b2b87ac0268ca4e/PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl (197 kB)
|████████████████████████████████| 197 kB 1.6 MB/s
Requirement already satisfied: ipython-genutils in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (0.2.0)
Collecting jupyter-contrib-core>=0.3.3
Downloading https://mirrors.aliyun.com/pypi/packages/e6/8f/04a752a8b66a66e7092c035e5d87d2502ac7ec07f9fb6059059b6c0dc272/jupyter_contrib_core-0.3.3-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: notebook>=4.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (6.4.10)
Collecting lxml
Downloading https://mirrors.aliyun.com/pypi/packages/19/28/ad90ac0ae2688355770391d81f2df6c7100f77df66a3f9c988e07d820d92/lxml-4.8.0-cp39-cp39-macosx_10_15_x86_64.whl (4.6 MB)
|████████████████████████████████| 4.6 MB 1.6 MB/s
Collecting jupyter-latex-envs>=1.3.8
Downloading https://mirrors.aliyun.com/pypi/packages/0e/15/55805de080d5542f76920364635e96e64d3b37f678befdfe3b16aa154205/jupyter_latex_envs-1.4.6.tar.gz (861 kB)
|████████████████████████████████| 861 kB 1.4 MB/s
Requirement already satisfied: jupyter-core in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter_contrib_nbextensions) (4.9.2)
Collecting pycodestyle>=2.8.0
Downloading https://mirrors.aliyun.com/pypi/packages/15/94/bc43a2efb7b8615e38acde2b6624cae8c9ec86faf718ff5676c5179a7714/pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 1.1 MB/s
Collecting toml
Downloading https://mirrors.aliyun.com/pypi/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: setuptools in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter-contrib-core>=0.3.3->jupyter_contrib_nbextensions) (61.3.0)
Requirement already satisfied: ipython in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (8.2.0)
Requirement already satisfied: jupyterlab-pygments in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.1.2)
Requirement already satisfied: jinja2>=2.4 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (3.1.1)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (2.1.1)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.5.13)
Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (1.5.0)
Requirement already satisfied: testpath in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.6.0)
Requirement already satisfied: entrypoints>=0.2.2 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.4)
Requirement already satisfied: defusedxml in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.7.1)
Requirement already satisfied: beautifulsoup4 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (4.10.0)
Requirement already satisfied: pygments>=2.4.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (2.11.2)
Requirement already satisfied: bleach in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (4.1.0)
Requirement already satisfied: nbformat>=4.4 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (5.2.0)
Requirement already satisfied: mistune<2,>=0.8.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbconvert>=4.2->jupyter_contrib_nbextensions) (0.8.4)
Requirement already satisfied: nest-asyncio in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert>=4.2->jupyter_contrib_nbextensions) (1.5.4)
Requirement already satisfied: jupyter-client>=6.1.5 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert>=4.2->jupyter_contrib_nbextensions) (7.2.1)
Requirement already satisfied: pyzmq>=22.3 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter-client>=6.1.5->nbclient<0.6.0,>=0.5.0->nbconvert>=4.2->jupyter_contrib_nbextensions) (22.3.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jupyter-client>=6.1.5->nbclient<0.6.0,>=0.5.0->nbconvert>=4.2->jupyter_contrib_nbextensions) (2.8.2)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from nbformat>=4.4->nbconvert>=4.2->jupyter_contrib_nbextensions) (4.4.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert>=4.2->jupyter_contrib_nbextensions) (0.18.1)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert>=4.2->jupyter_contrib_nbextensions) (21.4.0)
Requirement already satisfied: argon2-cffi in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from notebook>=4.0->jupyter_contrib_nbextensions) (21.3.0)
Requirement already satisfied: Send2Trash>=1.8.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from notebook>=4.0->jupyter_contrib_nbextensions) (1.8.0)
Requirement already satisfied: prometheus-client in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from notebook>=4.0->jupyter_contrib_nbextensions) (0.13.1)
Requirement already satisfied: ipykernel in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from notebook>=4.0->jupyter_contrib_nbextensions) (6.11.0)
Requirement already satisfied: terminado>=0.8.3 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from notebook>=4.0->jupyter_contrib_nbextensions) (0.13.3)
Requirement already satisfied: six>=1.5 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.5->nbclient<0.6.0,>=0.5.0->nbconvert>=4.2->jupyter_contrib_nbextensions) (1.16.0)
Requirement already satisfied: ptyprocess in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from terminado>=0.8.3->notebook>=4.0->jupyter_contrib_nbextensions) (0.7.0)
Requirement already satisfied: argon2-cffi-bindings in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from argon2-cffi->notebook>=4.0->jupyter_contrib_nbextensions) (21.2.0)
Requirement already satisfied: cffi>=1.0.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook>=4.0->jupyter_contrib_nbextensions) (1.15.0)
Requirement already satisfied: pycparser in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook>=4.0->jupyter_contrib_nbextensions) (2.21)
Requirement already satisfied: soupsieve>1.2 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from beautifulsoup4->nbconvert>=4.2->jupyter_contrib_nbextensions) (2.3.1)
Requirement already satisfied: webencodings in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from bleach->nbconvert>=4.2->jupyter_contrib_nbextensions) (0.5.1)
Requirement already satisfied: packaging in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from bleach->nbconvert>=4.2->jupyter_contrib_nbextensions) (21.3)
Requirement already satisfied: psutil in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipykernel->notebook>=4.0->jupyter_contrib_nbextensions) (5.9.0)
Requirement already satisfied: matplotlib-inline>=0.1 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipykernel->notebook>=4.0->jupyter_contrib_nbextensions) (0.1.3)
Requirement already satisfied: appnope in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipykernel->notebook>=4.0->jupyter_contrib_nbextensions) (0.1.2)
Requirement already satisfied: debugpy>=1.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipykernel->notebook>=4.0->jupyter_contrib_nbextensions) (1.6.0)
Requirement already satisfied: pickleshare in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.7.5)
Requirement already satisfied: pexpect>4.3 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (4.8.0)
Requirement already satisfied: decorator in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (5.1.1)
Requirement already satisfied: backcall in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.2.0)
Requirement already satisfied: stack-data in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.2.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (3.0.28)
Requirement already satisfied: jedi>=0.16 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.18.1)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from jedi>=0.16->ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.8.3)
Requirement already satisfied: wcwidth in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.2.5)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from packaging->bleach->nbconvert>=4.2->jupyter_contrib_nbextensions) (3.0.7)
Requirement already satisfied: executing in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from stack-data->ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.8.3)
Requirement already satisfied: pure-eval in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from stack-data->ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (0.2.2)
Requirement already satisfied: asttokens in /usr/local/Caskroom/miniconda/base/envs/TensorFlow2/lib/python3.9/site-packages (from stack-data->ipython->jupyter-latex-envs>=1.3.8->jupyter_contrib_nbextensions) (2.0.5)
Building wheels for collected packages: jupyter-latex-envs, jupyter-nbextensions-configurator
Building wheel for jupyter-latex-envs (setup.py) ... done
Created wheel for jupyter-latex-envs: filename=jupyter_latex_envs-1.4.6-py2.py3-none-any.whl size=963413 sha256=c54f609b8ada3cc122831539f461e1b68d74bc840ce579f2a9045a438c44e895
Stored in directory: /Users/yanghaoyuan/Library/Caches/pip/wheels/e7/42/7a/df294d086be7c357fdca94cde2f8996eb71131a5d9f51d84cf
Building wheel for jupyter-nbextensions-configurator (setup.py) ... done
Created wheel for jupyter-nbextensions-configurator: filename=jupyter_nbextensions_configurator-0.4.1-py2.py3-none-any.whl size=465844 sha256=59b898dc7f3eaacc7651ab490eab8ff78581ddef65218044ce770f1da8659c23
Stored in directory: /Users/yanghaoyuan/Library/Caches/pip/wheels/98/f7/67/d39910b778e204913191c562ad4b76416586a18dd49588342b
Successfully built jupyter-latex-envs jupyter-nbextensions-configurator
Installing collected packages: pyyaml, jupyter-contrib-core, toml, pycodestyle, lxml, jupyter-nbextensions-configurator, jupyter-latex-envs, jupyter-highlight-selected-word, jupyter-contrib-nbextensions, autopep8
Successfully installed autopep8-1.6.0 jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.1 jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.6 jupyter-nbextensions-configurator-0.4.1 lxml-4.8.0 pycodestyle-2.8.0 pyyaml-6.0 toml-0.10.2
$ jupyter contrib nbextension install --user
打开 jupyter notebook
$ jupyter notebook
[I 11:35:15.368 NotebookApp] 把notebook服务器的cookie密码写入 /Users/yanghaoyuan/Library/Jupyter/runtime/notebook_cookie_secret
[I 11:35:15.940 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.1
[I 11:35:15.948 NotebookApp] notebooks 运行所在的本地路径: /Users/yanghaoyuan
[I 11:35:15.948 NotebookApp] Jupyter Notebook 6.4.10 is running at:
[I 11:35:15.948 NotebookApp] http://localhost:8888/?token=d751a61dcc258ffcf27d0a806cf76c3d220984e5bc1b7899
[I 11:35:15.948 NotebookApp] or http://127.0.0.1:8888/?token=d751a61dcc258ffcf27d0a806cf76c3d220984e5bc1b7899
[I 11:35:15.948 NotebookApp] 使用 Control-C 停止此服务器并关闭所有内核(连续操作两次便可跳过确认界面)。
[C 11:35:15.962 NotebookApp]
