[MacPorts] #29531: python_select: command not found

MacPorts noreply at macports.org
Sat May 21 13:52:31 PDT 2011


#29531: python_select: command not found
-----------------------------------------+----------------------------------
 Reporter:  hansimglueck@…               |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  1.9.2                                
 Keywords:                               |        Port:                                       
-----------------------------------------+----------------------------------
 Hi MacPorties,

 I'm wondering about a strange bug. I have installed scipy, matplotlib and
 other scientific stuff. My commands were:


 {{{
 sudo port install py26-wxpython py26-numpy py26-matplotlib
 sudo port install py26-scipy py26-ipyhton
 }}}

 yea, right to this point everything works fine and after a few hours its
 done...

 I started ipython and everything works fine too.

 But in standard python i did not work ... i figured out that i use the
 apple python version:


 {{{
 hans: hans$ python
 Python 2.6.1 (r261:67515, Aug 2 2010, 20:10:18)
 [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
 }}}


 so i started:


 {{{
 hans: hans§ python2.6
 Python 2.6.6 (r266:84292, May 15 2011, 15:57:09)
 [GCC 4.2.1 (Apple Inc. build 5666)] on darwin
 }}}


 and yea it works fine.... ok so i checked my python_select installation
 from macports:


 {{{
 hans: hans§ port installed | grep python_select
 ipython_select @0.1.0 (active)
 python_select @0.3_1 (active)
 }}}


 but when i type:


 {{{
 hans: hans$ sudo python_select python2.6
 sudo: python_select: command not found
 }}}


 So port says python_select is fine but the command does not work? any
 hints? i already tried selfupdate, upgrade outdated and clean --all
 python_select....
 greets
 hans

-- 
Ticket URL: <https://trac.macports.org/ticket/29531>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list