话不多说,https://jupyter.org/install.html
原文英文版
比如说:
Microsoft Windows [版本 10.0.19xxx]
(c) Microsoft Corporation。保留所有权利。
C:\Users\29328>mamba install -c conda-forge jupyterlab
'mamba' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\29328>conda install -c conda-forge jupyterlab
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.9.2
latest version: 4.10.1
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: C:\ProgramData\Anaconda3
added / updated specs:
- jupyterlab
The following packages will be downloaded:
package | build
---------------------------|-----------------
conda-4.10.1 | py38haa244fe_0 3.1 MB conda-forge
python_abi-3.8 | 1_cp38 4 KB conda-forge
------------------------------------------------------------
Total: 3.1 MB
The following NEW packages will be INSTALLED:
python_abi conda-forge/win-64::python_abi-3.8-1_cp38
The following packages will be UPDATED:
conda pkgs/main::conda-4.9.2-py38haa95532_0 --> conda-forge::conda-4.10.1-py38haa244fe_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
conda-4.10.1 | 3.1 MB | ############################################################################ | 100%
python_abi-3.8 | 4 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: failed
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: C:\ProgramData\Anaconda3
C:\Users\29328>
然后自动生成,可以翻墙,也可以不用,直接使用镜像网站安装。
再接着:
C:\Users\29328>pip install voila
Collecting voila
Downloading voila-0.2.10-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 1.1 MB/s
Collecting jupyter-server<2.0.0,>=0.3.0
Downloading jupyter_server-1.7.0-py3-none-any.whl (382 kB)
|████████████████████████████████| 382 kB 3.3 MB/s
Requirement already satisfied: nbclient<0.6,>=0.4.0 in c:\programdata\anaconda3\lib\site-packages (from voila) (0.5.1)
Requirement already satisfied: jupyter-client<7,>=6.1.3 in c:\programdata\anaconda3\lib\site-packages (from voila) (6.1.7)
Requirement already satisfied: nbconvert<7,>=6.0.0