[MacPorts] #19575: python 2to3 is not in /opt/local/bin
#19575: python 2to3 is not in /opt/local/bin -------------------------------------+-------------------------------------- Reporter: julien.thewys@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- Hi, I recently installed "python26 @2.6.2" and "python30 @3.0.1". Both come with the 2to3 program but for some reason there is no link to 2to3 in /opt/local/bin. I did not have a look at the install script but I suppose the link creation is missing (maybe because the filename starts with a digit instead of a letter). If you have python2.6 and python3.0, executing the script below will display "ls: /opt/local/bin/2to3*: No such file or directory" twice, but should presumably not display anything. {{{ #!/bin/sh for file in $(find /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin -type f); do ls -al /opt/local/bin/$(basename "$file")* | grep "No such file" done for file in $(find /opt/local/Library/Frameworks/Python.framework/Versions/3.0/bin -type f); do ls -al /opt/local/bin/$(basename "$file")* | grep "No such file" done }}} -- Ticket URL: <http://trac.macports.org/ticket/19575> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19575: python 2to3 is not in /opt/local/bin -------------------------------------+-------------------------------------- Reporter: julien.thewys@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by julien.thewys@…): and here is the workaround: {{{ sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/2to3 /opt/local/bin/2to3-2.6 sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/3.0/bin/2to3 /opt/local/bin/2to3-3.0 sudo ln -s /opt/local/bin/2to3-2.6 /opt/local/bin/2to3 }}} -- Ticket URL: <http://trac.macports.org/ticket/19575#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19575: python 2to3 is not in /opt/local/bin -------------------------------------+-------------------------------------- Reporter: julien.thewys@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python26 python30 -------------------------------------+-------------------------------------- Changes (by macsforever2000@…): * cc: mcalhoun@… (added) * owner: macports-tickets@… => blb@… * port: => python26 python30 -- Ticket URL: <http://trac.macports.org/ticket/19575#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19575: python 2to3 is not in /opt/local/bin -------------------------------------+-------------------------------------- Reporter: julien.thewys@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python26 python30 -------------------------------------+-------------------------------------- Comment(by blb@…): python26 updated in r52430. -- Ticket URL: <http://trac.macports.org/ticket/19575#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19575: python 2to3 is not in /opt/local/bin --------------------------------------+------------------------------------- Reporter: julien.thewys@… | Owner: blb@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: python26 python30 | --------------------------------------+------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: python30 updated in r52432, thanks. -- Ticket URL: <http://trac.macports.org/ticket/19575#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts