Uninstalling Canopy Enthought leaves strange bash warning?

enthought canopy
uninstall canopy
enthought canopy ipython
enthought canopy price
enthought canopy chromebook
enthought canopy download for windows 10
canopy download mac
enthought python distribution 7.2 2

So I uninstalled Enthought Canopy (I think completely, but I'm unsure if there's residual information hanging around that I neglected to modify).

After uninstalling, following the directions here: https://support.enthought.com/entries/23580651-Uninstalling-and-resetting-Canopy

I was slightly unsettled by the fact that I couldn't find anything to delete for step 5, and since Canopy was never my default Python environment, I didn't think too much of it.

But now, every time I open terminal, I get this warning:

"-bash: /Users/MyName/Library/Enthought/Canopy_64bit/User/bin/activate: No such file or directory"

What do I need to do to fix this? I'm running Mac OSX, 10.8.5 (Mountain Lion). Any help would be much appreciated.

Until today I had this exact same problem, and it really bothered me. I solved it this way:

First, I entered following command in the terminal: open -a TextEdit .bash_profile This opens your .bash_profile in TextEdit, which for a terminal novice like me at least, is easier than editing it in the terminal with vi or something like that. In that file, you should see a few lines related to "Canopy" and "Enthought". In my case, this is what showed up:

# Added by Canopy installer on 2014-02-11
# VIRTUAL_ENV_DISABLE_PROMPT can be set to '' to make bashprompt show that Canopy is active,       otherwise 1
VIRTUAL_ENV_DISABLE_PROMPT=1 source /Users/MyUserame/Library/Enthought/Canopy_64bit/User/bin/activate

I think it is that last line that is causing all the trouble. Simply delete these few lines (don't delete anything else). In my case, these lines were in a separate block from others in my .bash_profile so it was easy to pick them out. After this, just close the text file, restart your computer, and the annoying stuff about Enthought not being found should be gone. For me this worked, hope it does for you too!

Uninstalling Canopy Enthought leaves strange bash warning?, Until today I had this exact same problem, and it really bothered me. I solved it this way: First, I entered following command in the terminal: open -a TextEdit  1) From the Canopy preferences option in the Edit menu, mark off Canopy as your default Python (this step is not available on very early versions of Canopy). 2) Restart your computer. 3) Remove the “~/Canopy” directory (or the directory where you installed Canopy).

To find out where this is, run an interactive shell with the xtracefd flag set and a PS4 that includes $BASH_SOURCE. For instance:

PS4='+$BASH_SOURCE:$LINENO:' bash -i -x

Then, look through the output for the first reference to the activate script given; it will include the source file and line number.

Most likely, this will be .bashrc.

Uninstalling and resetting Canopy v1 – Enthought Knowledge Base, 2) Restart your computer. 3) Uninstall Enthought Canopy from: Control Panel > Add/Remove Programs (Windows XP). Control Panel > Programs  Teams. Q&A for Work. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

For anyone who is having this problem as I did, I found the source in my .profile file. You will see a command at the top of your .bash_profile or .bashrc that reads: [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile. This is calling yet another script called .profile that you need to clean up. To edit .profile use the command:

open -a TextEdit .profile

Then you'll find a line in there that says something like:

# Added by Canopy installer on 2013-04-10
source /Users/username/Library/Enthought/Canopy_64bit/User/bin/activate

Delete those lines and save, et voila!

Uninstalling and resetting Canopy 2 – Enthought Knowledge Base, 1) Restart your computer. 2) Uninstall Enthought Canopy from the Control Panel > Programs and Features. For Windows 8 & 10, be sure to use  The best practice, when you wish to install an EPD package from another source, is first to uninstall it (`enpkg --remove some_package`), then to install it using whatever technique you prefer. When it's time to revert to the EPD version, then you would uninstall it using the same technique that you installed it with, then re-install it with enpkg.

I had a similar error message. You need to comment out (#) or delete the last line thats under the #Canopy settings in your bash profile. follow below steps in terminal to get rid of the error message:

vim .profile

You should see the following info regarding your Canopy set up:

# Added by Canopy installer on 2016-01-12
# VIRTUAL_ENV_DISABLE_PROMPT can be set to '' to make bashprompt show that Canopy is active, otherwise 1
VIRTUAL_ENV_DISABLE_PROMPT=1 source '/Users/waismoradi/Documents/CanopyEnthought/User/bin/activate'

Just delete or comment out with -> # the last line and you are all set! This will disable the env prompt to show up when you launch terminal.

Properly Uninstalling Canopy Python Installation from Linux , Motivation for this blog post: I had downloaded Canopy at the insistence of the instructors of MIT's introductory course on computer science  I have the same issue. I installed Enthought Canopy on Mac OS 10.8.3 and then installed Theano with pip. Numpy v1.6.1 and scipy v 0.11.0. Previously I had the pkg python distribution on my system (but scipy would test with many failures), now with EPD scipy does better.

EarthRef.org -- PmagPy Cookbook, If you are using Z shell instead of bash (which is the new default for Mac starting with If you installed Canopy Python at any point, make sure you uninstall it first. -sav saves the plots silently and quits the program the GUI is there to provide relevant warnings about aspects of the current specimen and  Linux Installation¶. First download a Linux installer from the Canopy download page.. For almost all users, the Standard Installers are the best choice. Full installers are only intended for shared or offline installations which will not be updated after installation.

[PDF] SciPy Reference Guide - Numpy and Scipy, #10395: Remove warning about output shape of zoom #8568: BUG: Fixes Bland's Rule for pivot row/leaving variable, closes… #3505: scipy.linalg.lstsq() residual's help text is a lil strange #6961: Scipy contains shebang pointing to /​usr/bin/python and /bin/bash… #3654: Changing EPD to Canopy. On Mac OS and Linux systems, Canopy does this by appending a line to your ~/.bash_profile file which activates the correct virtual environment. On Windows, this Python environment is also added to the system registry so third-party tools can correctly find it. Since we use virtual environments, the installation layout for Canopy is different.

Enthought Company Culture, Learn about Enthought's culture, see what work's like, read reviews, and find job You can check this article for a new Canopy version, or check the current  To automatically set these proxy environment variables after configuring your Canopy proxy, you can make one more change in the same Preferences ==> Network tab. Set "Pass these proxy settings to terminal and ipython" to "Yes", then press OK. Then close any Canopy Command Prompt or Canopy Terminal Windows, quit Canopy, and restart Canopy.

Comments
  • I believe unthought modifies your bash_profile file. What are the contents of that file under your home directory?
  • There's nothing in there. :(
  • @deepak: Actually, .bash_profile doesn't make sense for this, as it's only run on login shells, not on child-process shells within the same interactive session; works great for updating environment variables, but not so much for shell functions -- and the activate script defines a shell-function deactivate, so it wouldn't work properly if sourced from .bash_profile. More likely is .bashrc.
  • In Mac OS X, all new terminal windows start login shells by default, as the terminal emulator itself was not started from a login shell.
  • A full restart shouldn't be necessary for this to take effect -- remove the lines, and it should be effective the immediate next time a Terminal window or other shell is opened.
  • One other quibble -- there should be a space between source and /Users; otherwise, this wouldn't work even when Canopy was correctly installed.
  • Thanks for pointing out the missing space! Also, I didn't think the restart would be necessary, but that advice came directly from the Enthought support file. I didn't try it before the restart.
  • Maybe try the same command but with .profile instead of .bash_profile:open -a TextEdit .profile
  • This might be helpful too, if you haven't seen it already: support.enthought.com/entries/23580651-Uninstalling-Canopy
  • Maybe I'm not understanding you, but when I run this line in my terminal, I end up running from "bash-3.2"? Is that line 3 in .bashrc or what does that mean?
  • There should be rather a lot of other output before it gets to that point. Look through that other output -- somewhere in it will be the error message; see exactly what is before and after the error.
  • You don't even get the activate: No such file or directory message in this case? Curious; I can't reproduce that behavior.