清华镜像源下载安装jupyter notebook
时间: 2024-09-27 20:01:10 浏览: 424
在清华大学提供的镜像源上下载并安装Jupyter Notebook,可以按照以下步骤操作:
1. **安装Python**:首先确保已经安装了Python。你可以访问官网https://www.python.org/downloads/ 下载适合你的系统版本。
2. **配置环境变量**:如果你使用的是Anaconda或Miniconda,可以考虑在环境中安装Jupyter Notebook,因为它们自带了。如果不是,需要全局安装,可以在命令行输入 `pip install jupyter` 或者 `python -m pip install jupyter`。
3. **更新国内镜像源**:由于网络原因,建议先设置清华源作为Pip的默认源,以提高下载速度。运行以下命令:
```
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/
conda config --set channel_priority strict
```
如果不是使用Conda,也可以修改pip的源:
```bash
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
```
4. **安装Jupyter Notebook**:设置好镜像源后,继续使用pip安装Jupyter Notebook:
```
pip install jupyter notebook
```
5. **启动Jupyter Notebook**:安装完成后,在终端输入 `jupyter notebook` 启动服务。如果一切顺利,浏览器会自动打开一个新的标签页,显示Jupyter Notebook的界面。
6. **验证安装**:在浏览器中,你应该能看到Jupyter Notebook欢迎页面,表示安装成功。
阅读全文
相关推荐


















