[MacPorts] #56278: py-pip: Does not install ${prefix}/bin/pipX.Y (was: Automatically include /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/ into $PATH)

MacPorts noreply at macports.org
Thu Apr 12 23:37:37 UTC 2018


#56278: py-pip: Does not install ${prefix}/bin/pipX.Y
---------------------+----------------------
  Reporter:  l-g     |      Owner:  stromnov
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  py-pip  |
---------------------+----------------------
Changes (by raimue):

 * owner:  (none) => stromnov
 * status:  new => assigned
 * type:  enhancement => defect
 * port:   => py-pip


Comment:

 As MacPorts provides multiple versions of python, these tools inherently
 conflict. Therefore they are usually installed with the appropriate
 version suffix into `/opt/local/bin`.

 There should be a symlink at `/opt/local/bin/pip3.4`. But apparently there
 is not, so this is a bug with the py-pip port.

 See also the notes for python34 and related ports on how to make this
 version the default:

 {{{
 $ port notes python34
 python34 has the following notes:
   To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one
   or both of:

       sudo port select --set python python34
       sudo port select --set python3 python34
 }}}
 {{{
 $ port notes py34-pip
 py34-pip has the following notes:
   To make the Python 3.4 version of pip the one that is run when you
 execute the commands without a version suffix,
   e.g. 'pip', run:

   port select --set pip pip34
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56278#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list