python安装jupyternotebook
时间: 2023-09-08 18:07:23 浏览: 128
在安装Jupyter Notebook之前,您需要确认已经安装了Python编译器。您可以在Python官网上下载并安装Python编译器。然后,您可以在Cmd或者Pycharm终端中运行以下命令来安装Jupyter Notebook:
- 使用命令 conda install jupyter 或者 pip install jupyter
此外,如果您在Jupyter Notebook中遇到了无法切换虚拟环境的问题,您可以通过安装ipykernel来解决。以下是一些相关的命令:
- 安装ipykernel:python -m pip install ipykernel
- 添加内核:python -m ipykernel install --user --name=kernelname --display-name showname
其中,kernelname为您创建的文件夹名,showname为在Jupyter Notebook中展示的内核名。
- 查看内核列表:jupyter kernelspec list
- 删除内核:jupyter kernelspec remove name
这些步骤可以帮助您在Python中安装Jupyter Notebook并解决相关的环境切换问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Jupyter notebook 详细安装步骤](https://blog.csdn.net/Withadream/article/details/125440035)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [python中jupyter notebook安装教程、常用插件和拓展配置及基本使用(全面)](https://blog.csdn.net/QH2107/article/details/126238357)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文