在jupyter notebook中输入命令行指令时,前面都要加上“!”。在jupyter notebook中直接输入:1!pip install [package]例如:1!ls !pwd !touch mytext.txtPython学习网,有大量免费的Jupyter使用教程,欢迎大家学习!