win10系统安装jupyter notebook
时间: 2023-11-20 18:58:10 浏览: 103
以下是在win10系统上安装Jupyter Notebook的步骤:
1.安装Python:首先需要安装Python,可以从官网下载Python的安装包,然后按照提示进行安装。
2.安装Jupyter Notebook:在安装好Python之后,可以使用pip命令来安装Jupyter Notebook。在命令行中输入以下命令:
```shell
pip install jupyter
```
3.启动Jupyter Notebook:在命令行中输入以下命令:
```shell
jupyter notebook
```
这将会启动Jupyter Notebook服务器,并在默认浏览器中打开Jupyter Notebook的主页面。如果没有自动打开浏览器,可以手动在浏览器中输入http://localhost:8888/来访问Jupyter Notebook。
4.自定义启动目录:如果想要将Jupyter Notebook的启动目录设置为自己的工作目录,可以按照以下步骤进行:
- 打开命令行,输入以下命令:
```shell
jupyter notebook --generate-config
```
这将会在用户目录下生成一个名为jupyter_notebook_config.py的配置文件。
- 打开jupyter_notebook_config.py文件,找到以下行:
```python
#c.NotebookApp.notebook_dir = ''
```
将其修改为:
```python
c.NotebookApp.notebook_dir = 'your/work/directory'
```
其中,'your/work/directory'为你自己的工作目录。
- 保存文件并退出,然后重新启动Jupyter Notebook服务器即可。
阅读全文
相关推荐


















