jupyter安裝,環境配置(win10)

2021-09-28 14:54:04 字數 1432 閱讀 4051

jupyter notebook是乙個web應用程式,允許您建立和共享包含實時**,方程,視覺化和說明文字的文件。 用途包括:資料清理和轉換,數值模擬,統計建模,機器學習等等。如果是想安裝jupyterlab只需要將以下的jupyter改為jupyterlab即可。

安裝:如果安裝python。

pip install jupyter

安裝anaconda可以直接啟動。

jupyter notebook

pip版本較低

python -m pip install --upgrade pip

pip install jupyter

無法將「jupyter」項識別為 cmdlet、函式、指令碼檔案或可執行程式的名稱。

需要配置環境變數,網上很多解決方案。

很罕見的filenotfounderror: [errno 2] no such file or directory: 『nul』,這種問題出現在重灌win10後。參見通常這種情況安裝不了anaconda(本人是在其他系統安裝後將所有檔案拷貝到電腦)

在實際操作中,個人電腦會有很多python環境,如python2和python3。但是預設jupyter環境為python路徑。但有時候會用到其他環境。

建立新的環境,使用conda

pip install ipykernel

conda create -n py36 python=3.6

activate py36

python -m ipykernel install --name ***x

如***為new

啟動:

jupyter notebook

乙個已有的環境配置在jupyter。 若已有的環境是conda環境。

activate py36

python -m ipykernel install --name ***x

若已有的環境不是conda,可以如下操作。如路徑如下:j:\anaconda\envs\new\python

cd j:\anaconda\envs\new

.\python -m pip install ipykernel

python -m ipykernel install --name ***x

即可。

參考:

Liunx 環境安裝配置Jupyter

1.安裝anaconda 安裝anaconda後 bash anaconda3 2020.02 linux x86 64.sh 注意 安裝完成之後,系統會預設進 到 base 虛擬環境 退出base虛擬環境 conda deactivate 進 base虛擬環境 conda activate 如果不...

Jupyter安裝和配置

使用環境 ubuntu18 python3.6 python3 m pip install upgrade pip python3 m pip install jupyter user 完成後,jupyter安裝在 local bin目錄下。執行jupyter 如果提示找不到jupyter,需要重啟...

jupyter安裝 R 語言環境

開啟 anaconda prompt 執行 conda create n r env python 3.6.8 python3.7不能用 執行 conda install jupyter 執行 conda install r 輸入 r 回車,進入 r 語言環境 options repos 選擇倉庫源...