Ubuntu使用ipython出现版本不兼容的问题
今天租了一个ECS,然后准备安装了jupyter,准备配置,输入ipython,出现如下报错
ImportError: IPython 7.10+ supports Python 3.6 and above. When using Python 2.7, please install IPython 5.x LTS Long Term Support version. Python 3.3 and 3.4 were supported up to IPython 6.x. Python 3.5 was supported with IPython 7.0 to 7.9.
嗯,版本问题,我的python是3.5版本的,然后ipython是最新版本7.1,所以就需要换一个版本,我一开始想着有没有降级,然后没搜到(主要还是作为一个萌新实在是太菜了),就卸了重下一个
pip3 uninstall ipython
然后再下一个船新版本的ipython
pip3 install ipython==7.8.0
成功啦