[MacPorts] #29531: python_select: command not found
#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
#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: -----------------------------------------+---------------------------------- Comment(by ryandesign@…): "python_select" (and other standalone *_select scripts) is gone. Use "sudo port select python python26" etc. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: -----------------------------------------+---------------------------------- Comment(by hansimglueck@…): great that works fine... thanks -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: python_select: command not found ------------------------------------------+--------------------------------- Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: python_select | ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid * port: => python_select -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: python_select: command not found ------------------------------------------+--------------------------------- Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: python_select | ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: raimue@… (added) Comment: Has duplicate #29616. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: python_select: command not found ------------------------------------------+--------------------------------- Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: python_select | ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Has duplicate #29720 (about gcc_select, but it's the same issue). -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary ------------------------------------------------------------------------+--- Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select postgresql_select python_select | ------------------------------------------------------------------------+--- Changes (by ryandesign@…): * status: closed => reopened * cc: mww@…, ryandesign@… (added) * resolution: invalid => * port: python_select => gcc_select ipython_select postgresql_select python_select Comment: It was also [http://lists.macosforge.org/pipermail/macports- users/2011-June/024442.html reported on the mailing list], where it was suggested that a "_select" binary should have been left behind, with the sole purpose of printing an error message advising the user how to use "port select". This seems like a great idea, and would avoid these many tickets being filed and users being confused. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Changes (by ryandesign@…): * cc: blair@… (added) * port: gcc_select ipython_select postgresql_select python_select => gcc_select ipython_select maven_select postgresql_select python_select -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Comment(by ryandesign@…): This problem [http://lists.macosforge.org/pipermail/macports- users/2011-June/024584.html came up on the list again]. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Comment(by ryandesign@…): Has duplicate #30063. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Comment(by ryandesign@…): Has duplicate #32389. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Comment(by beany_kelly@…): I'm using a MBP with OS X 10.6.8 and macports 2.0.4 I'm having the problem above when trying to select an earlier installation of gcc: (1) gcc_select is installed on my system; (2) gcc_select is *not* an executable; (3) nevertheless, I *can't* uninstall gcc_select, because my gcc4* installations depend on it; (4) the "approved" way of selecting -- "sudo port select gcc gcc45" -- doesn't work either:
Selecting 'gcc45' for 'gcc' failed: The specified version 'gcc45' is not valid.
So how do I now select gcc45 without uninstalling all my other gcc versions? -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------------------------------------------+ Reporter: hansimglueck@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: gcc_select ipython_select maven_select postgresql_select python_select | -------------------------------------------------------------------------------------+ Comment(by raimue@…): Replying to [comment:11 beany_kelly@…]:
(4) the "approved" way of selecting -- "sudo port select gcc gcc45" -- doesn't work either:
Selecting 'gcc45' for 'gcc' failed: The specified version 'gcc45' is not valid.
You should check `port select --list gcc` first. You want to run `port select gcc mp-gcc45`. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29531: _select ports no longer provide _select binary -------------------------------------------------+------------------------- Reporter: hansimglueck@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: wontfix | Version: 1.9.2 Port: gcc_select ipython_select | Keywords: maven_select postgresql_select python_select | -------------------------------------------------+------------------------- Changes (by raimue@…): * status: reopened => closed * resolution: => wontfix Comment: This has been pending for a long time. Closing as the *_select scripts are not coming back. -- Ticket URL: <https://trac.macports.org/ticket/29531#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts