Opened 13 years ago

Closed 13 years ago

#31331 closed defect (worksforme)

python_select python27 on MacPorts-1.9.2-10.6-SnowLeopard > command not found

Reported by: jeff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: python_select

Description

Thanks to your troubleshooting docs, I've solved all but one problem. I've (seemingly) successfully done port installs for libtool, libusb-devel +universal and python_select. When I then sudo python_select python27, I get "command not found". I've attached the full session log file, including some directory listings where I've located two different versions of python27 files. I've tried adding those paths to the terminal command line, but still get the same result. (FYI, the first time I accessed the Python 2.7 folder via Finder, I got a message about an alias not being resolved... I'm pretty sure I clicked "cancel" or "ignore", but the message doesn't appear when revisiting that Finder folder.)

I'm a newbie, and the aforementioned port installs are part of a longer list of instructions for several related package installs I'm following... so please be as specific as you can. ;)

Thanks for your help!

Jeff

Attachments (1)

MacPorts Terminal Output.txt (21.5 KB) - added by jeff@… 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by jeff@…

comment:1 Changed 13 years ago by blb@…

Port: python_select added
Resolution: worksforme
Status: newclosed

The functionality of python_select is now a part of port itself (as well as for other port sets that support it); see port help select. You can now just use port select --set python python27 to select 2.7 to be the default.

Also, I strongly suggest you upgrade your MacPorts to 2.0.3 (the latest).

Note: See TracTickets for help on using tickets.