0

我正在尝试从我的 Mint Linux KDE 机器上卸载 Enthought Canopy(Linux 64 位安装)。Enthought 帮助文件说要删除 ~/Canopy 目录。

如何从我的 $PATH 中删除 Canopy 目录?这是我的 $PATH:

/home/steve/Enthought/Canopy_64bit/User/bin:/home/steve/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: /usr/games:/usr/本地/游戏

我搜索了我的 ~/.bashrc、~/.profile、/etc/profile 和 /etc/bash.bashrc 文件,但没有提到 /home/steve/Enthought/Canopy_64bit/User/bin。

如何将我的 Canopy 安装设置的 $PATH 值替换为我机器上的默认 Python 安装?谢谢。

4

1 回答 1

3

安装程序会修改您的 .profile 或 .bash_profile 文件以包含一个source ~/Enthought/Canopy_64bit/User/bin/activate语句,这可能会修改您的路径。查看您的点文件以查找该source语句,而不是考虑路径本身。

https://support.enthought.com/entries/23580651-Uninstalling-Canopy

于 2013-06-27T02:22:41.573 回答