问题描述
我有一个基本的终端问题.我刚刚在 Snow Leopard 上安装了 enthought 的 Canopy for Python,并且(Canopy 64 位)在我在命令行上工作时不断显示.
I have a basic terminal question. I just installed enthought's Canopy for Python on Snow Leopard, and (Canopy 64bit) continually shows up when I'm working on the command line.
例如:(Canopy 64bit) Macbook~[用户名]$
EX:(Canopy 64bit) Macbook~[username]$
我尝试编辑我的 bashrc 文件,但无济于事.
I've tried editing my bashrc file, to no avail.
bashrc 目前有这个:
bashrc currently has this:
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
PS1="Macbook~\u\$"
# Make bash check its window size after a process completes
shopt -s checkwinsize
--
有什么办法可以阻止(Canopy 64bit)"的显示?
Is there any way to stop "(Canopy 64bit)" from displaying?
推荐答案
它在 .bash_profile 中.但是,一旦您删除它,您可能必须注销并重新登录才能生效.
It's in .bash_profile. But you'll probably have to log out and back in for it to take effect, once you remove it.
安装时有一个选项可以使 Canopy 成为您的默认 Python 环境.不幸的是,似乎没有办法在应用程序设置中更改它.
There's an option when you install to make Canopy your default python environment. Unfortunately, there doesn't appear to be a way to change that in the application settings.
这篇关于“天篷"的展示在命令行上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!