首页 > 解决方案 > 这段代码在 matplotlib 中的“!pip install xlrd”是什么意思?特别是这个“!” 符号?

问题描述

我不明白这是在做什么“!” 登录 Jupyter notebook 安装 xlrd。要安装一些库,我知道我需要在 cmd 中写入“pip install 。但是这里是做什么的”!在 Jupyter 笔记本中叹息安装......谢谢

标签: pythonmatplotlibpipjupyter

解决方案


要在 jupyter notebook 中执行 shell 命令,请从!. pip install xlrd是一个shell命令。


推荐阅读