Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#45490 closed defect (fixed)

python_select cannot detect pre-installed Python programs in Yosemite

Reported by: my@… Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: yosemite Cc: rplatjes@…
Port: python_select

Description (last modified by mf2k (Frank Schima))

I upgraded Mac OS X Maveriacks to OS X Yosemite and followed migration instructions.

Everything works fine but I cannot switch back to the pre-installed Python in Yosemite from Python 2.7.8_3 installed via MacPorts, since python_select cannot find it.

I run the following commad in a terminal:

$ sudo port select --summary

and it returns:

    db         none     db48, none
   python   none     none, python27

If this is a bug of MacPorts with OS X Yosemite, I am looking forward to an update to fix this.

If not, please tell me how to solve this.

Thanks!!

Change History (5)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: yosemite added

In the future, please use WikiFormatting.

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to larryv@…
Status: newassigned

Oops.

comment:3 in reply to:  description Changed 9 years ago by larryv (Lawrence Velázquez)

Technically, r127074 should take care of it. Practically, unless you have a wonky PATH going on, you should be able to achieve the same goal with port select --set python none.

comment:4 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed
Version: 2.3.2

comment:5 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: rplatjes@… added

Has duplicate #45520.

Note: See TracTickets for help on using tickets.