我已经使用
安装了jupytersudo pip3 install jupyter
然后尝试使用
修复一些错误sudo pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
运行jupyter notebook
并运行一些代码后,我收到以下错误:ImportError: No module named 'matplotlib'
。其他进口表现相似。 help('modules')
返回以下输出:
Please wait a moment while I gather a list of all available modules...
Usage: ipykernel_launcher.py [options]
A simple dialog based tool for basic configuration of Speech Dispatcher
and problem diagnostics.
ipykernel_launcher.py: error: no such option: -f
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2
/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py:2889: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
我的常规python IDE(PyCharm)运行完美。我究竟做错了什么?任何帮助都非常感谢。谢谢。