我在第一次使用jupyter的时候代码不能运行,于是在网上查找了相关问题,参考了如下文章
jupyter notebook代码无法运行_ccjtnt的博客-CSDN博客_jupyter notebook无法运行代码
但是在运行的时候出现了如下信息
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.1.5 requires pyqt5<5.13, which is not installed.
spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.
翻译是错误:pip的依赖关系解析器当前没有考虑到已安装的所有软件包。这种行为是以下依赖性冲突的来源。spyder 5.1.5需要pyqt5<5.13,但没有安装。spyder 5.1.5需要pyqtwebengine<5.13,但没有安装。
出现了报错
于是继续寻找答案,于是又参考了如下文章
我只出现了上面的两个报错,只用了两个就不报错了
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqt5<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqtwebengine<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pathlib
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ruamel-yaml