jupyter怎么没有提示词
时间: 2023-10-21 17:52:57 浏览: 199
回答: 如果你在使用Jupyter时没有提示词,可能是因为你没有安装或启用Jupyter的扩展组件。你可以按照以下步骤来安装和启用Jupyter的提示词功能。
首先,打开命令行终端,然后根据你的环境选择以下其中一种方式来安装和启用Jupyter的扩展组件:
1. 使用第一个引用中的命令来安装和启用Jupyter的扩展组件:
```
pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple
jupyter contrib nbextension install --user
```
2. 使用第二个引用中的命令来安装和启用Jupyter的扩展组件:
```
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable
```
3. 使用第三个引用中的命令来安装和启用Jupyter的扩展组件:
```
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
```
安装和启用完成后,重新启动Jupyter Notebook,你应该能够看到提示词功能已经生效了。如果还是没有提示词,你可以尝试重新安装Jupyter或者查看Jupyter的配置文件是否正确配置了扩展组件的路径。
#### 引用[.reference_title]
- *1* [jupyter没有代码提示的解决办法](https://blog.csdn.net/qq_58060770/article/details/123296865)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [解决jupyter没有代码提示](https://blog.csdn.net/qq_52412468/article/details/128512969)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [【Python工具】Jupyter Notebook设置代码提示](https://blog.csdn.net/ZZQHELLO2018/article/details/124930512)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文