> On Oct 13, 2016, at 6:30 AM, Björn Raupach <raup...@me.com> wrote:
> Dear group,
> I am not very familiar with groups and the port select command. Maybe someone 
> can shed some light.
> At first I assumed it sets the default symlink for the command in /usr/bin, 
> but then I don’t seem to understand the output of port select —summary
> Name     Selected     Options
> ====     ========     =======
> awscli   py34-awscli  py34-awscli none
> maven    maven3       maven3 none
> mysql    mysql56      mysql56 none
> pip      none         none
> python   none         python26-apple python27-apple python34 none
> python3  none         python34 none
> Why is python in more than one group? If I call python from the command line 
> it launches the python3.4 even though port select shows that none is selected.
> port select —set python python34 yields an error: Selection ‘python34’ for 
> ‘python’ failed: symlink: /opt/local/etc/select/python/current -> python34: 
> file already exists.

Maybe you had selected python3.x with MacPorts before, then you uninstalled 
MacPorts without un-selecting python, and now you've installed MacPorts again?

You could remove the /opt/local/etc/select/python/current symlink manually and 
try again, though I'm unclear on why it would be complaining that it already 
exists; it's normal for it to already exist.

macports-users mailing list

Reply via email to