[MacPorts] #49153: Python problems in El Capitan
#49153: Python problems in El Capitan ------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- I have two issues with Python 2.7 (2.7.10) in El Capitan: * The `port select` command does not recognize the default Python provided by Apple: {{{ $ port select python Available versions for python: none (active) python27 }}} * When I run the MacPorts version of Python and then exit the Python shell, my terminal session is messed up (whatever I type does not show up and all terminal output is on the same line), until I issue a `reset` command: {{{ $ /opt/local/bin/python2.7 Python 2.7.10 (default, Oct 7 2015, 13:02:49) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin Type "help", "copyright", "credits" or "license" for more information.
^D>>> $ $ $ $ }}}
I tried both the packaged version and recompiling all packages locally (I have the latest Xcode installed and all updates). -- Ticket URL: <https://trac.macports.org/ticket/49153> MacPorts <https://www.macports.org/> Ports system for OS X
#49153: Python problems in El Capitan -------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by stromnov@…): Second issue is a duplicate of #48807. -- Ticket URL: <https://trac.macports.org/ticket/49153#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49153: Python problems in El Capitan -------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by m7.thon@…): First issue is not an issue. This is how {{{port select}}} has worked for a while. To default to the system python (or whatever else is configured outside macports), just select {{{none}}}. -- Ticket URL: <https://trac.macports.org/ticket/49153#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49153: python_select does not know about El Capitan versions of python ----------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: python_select | ----------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => elcapitan * port: => python_select Comment: Replying to [comment:2 m7.thon@…]:
First issue is not an issue. This is how {{{port select}}} has worked for a while.
No; it is a bug in the python_select port. It needs to have an appropriate "platform darwin 15" block added to it, and its revision increased. -- Ticket URL: <https://trac.macports.org/ticket/49153#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49153: python_select does not know about El Capitan versions of python ----------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: python_select | ----------------------------+-------------------------------- Comment (by chazapis@…): Indeed, looking at #48807, I found that installing Python with `port install python27 +readline` solves the terminal issue. -- Ticket URL: <https://trac.macports.org/ticket/49153#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49153: python_select does not know about El Capitan versions of python ----------------------------+-------------------------------- Reporter: chazapis@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: elcapitan Port: python_select | ----------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 ryandesign@…]:
It needs to have an appropriate "platform darwin 15" block added to it, and its revision increased.
r141426 -- Ticket URL: <https://trac.macports.org/ticket/49153#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts