Mon 2019-06-01 06:20:39 UTC, E. Madison Bray:
>
> On Sun, Jun 2, 2019 at 11:46 PM darwin doppelganger:
> > 
> > I responded to a similar posting with a link to directions
> > for removing anaconda. It seems to have worked just fine,
> > but Dima's suggestion sounds easier. 
>
> One thing I've noticed a lot of Anaconda users don't realize or 
> understand, especially on OSX, is that when you install Anaconda it 
> gives you the option (enabled by default I think), to automatically 
> add Anaconda's bin/ to their PATH.  It does this by actually editing 
> their .profile (I believe)

It edits people's ~/.bash_profile adding a line to tweak the PATH
by *prepending* Anaconda to it.
 
> and adding some lines to manipulate the 
> PATH.  Most people when they install Anaconda don't realize it's doing 
> this. 
>
> I have no problem with that in principle, as it's certainly a 
> convenience if you plan on making Anaconda your primary Python 
> distribution.  But I feel like more of than not it creates confusion, 
> as users often have multiple Python distributions (including Homebrew) 
> on their systems and get confused about which one the should be using. 
> This extends beyond Python too, now that Anaconda has become a more 
> generic packaging solution. 
>
> I think the key here is not "remove Anaconda" itself, but just not 
> allow it to add itself to your PATH if you don't plan on using it 
> every day, and instead only manually activate the Anaconda environment 
> when you do explicitly plan to use it. 

Would it make sense to mitigate this frequent source of problems
for Sage users by detecting the presence of Anaconda and issuing
a helpful message indicating Anaconda was detected and it being
in the PATH is likely to prevent sage from running or from building,
and offering hints on how to undo Anaconda's PATH-tweaking?

I opened a ticket for that but I'm not sure how that would go exactly:

- Sage Trac ticket 27699: Detect Anaconda
  https://trac.sagemath.org/ticket/27699

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/385907fb-aaf2-4b4f-a062-99c663c43710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to