所以我有多个版本的 Python,以及 pycharm(社区)、anaconda 和 jupyter notebook。我想从我的系统中删除并清除所有内容,除了 ubuntu 18.04 自带的默认 Python,然后从头开始重新安装 Jupyter Notebook。我想这样做是因为我在 Jupyter Notebook 中导入包时遇到了问题,因为我的机器上有多个 Python 版本。我该怎么做?
whereis python
这是我在终端中输入时得到的输出:
python: /usr/bin/python3.6m /usr/bin/python3.6
/usr/bin/python2.7
/usr/bin/python3.6m-config
/usr/bin/python
/usr/bin/python2.7-config
/usr/bin/python3.6-config
/usr/lib/python3.6
/usr/lib/python2.7
/usr/lib/python3.7
/etc/python3.6
/etc/python2.7
/etc/python
/usr/local/lib/python3.6
/usr/local/lib/python2.7
/usr/include/python3.6m
/usr/include/python3.6
/usr/include/python2.7
/usr/share/python
/home/<username>/anaconda3/bin/python3.7m
/home/<username>/anaconda3/bin/python
/home/<username>/anaconda3/bin/python3.7
/home/<username>/anaconda3/bin/python3.7-config
/home/<username>/anaconda3/bin/python3.7m-config
/usr/share/man/man1/python.1.gz
任何帮助都将不胜感激。谢谢!