> On Jan 6, 2017, at 14:43, Kevin Karplus <
kar...@soe.ucsc.edu> wrote:
>
> Anaconda installs python in a different place than the default python—you have to modify your path if you want to use the anaconda-installed python. You probably did not need to remove the conda-installed packages as they were (most likely) in a different place than the packages needed for the python you were using.
>
> It is possible to have many different versions of python installed on a Mac or Linux system, so it is important to make sure that you are invoking the one you intend. Running
> which python
> from the shell will tell which one is the default (the first one found on the path).
> For me that is
> /Users/kevin/anaconda3/bin/python
> which invokes version 3.5.2.
>
> I also have /Users/kevin/anaconda2/bin/python, which I can invoke as python2 getting version 2.7.12, and /usr/bin/python, which gets 2.7.10
>
> It sounds like Jupyter was invoking /usr/bin/python instead of whatever anaconda python you had installed. If you want to numpy, scipy, matplotlib, … it may be worthwhile to figure out where Jupyter is getting its path from, and change that to put the anaconda bin directory before /usr/bin
All true, but this was a “fresh” machine with no other Python installation other than what shipped with OS X 10.11. I used precisely the same installation procedures on it that I previously used on my own machines, for which there were no problems. The ONLY difference was that on this machine, I had to install Anaconda inside a non-admin account in addition to an installation within the admin account (installing for all users was denied by the Anaconda installer). “echo $PATH” gave the exact same path on all the machines so I’m 99.999999% certain it wasn’t a path issue.
Anyway, everything is working now so I can finally go Classic-Free with VPython (and GlowScript) for the very first time. I must say, though, that I will miss VIDLE as it’s a nice little editing environment.