<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
How do I arrange for my shell command<br>
pip3<br>
to give the pip associated with my /opt/local/bin/python3?<br>
<br>
I tried to do this using "port select", but that failed, as you can
see below. Can someone give some explanation of the meaning of the
the error message "The specified group 'pip3' does not exist"? What
does "group" mean in this context?<br>
<br>
Macintosh-2:~% echo $path<br>
. /Users/dbae/bin /opt/local/bin /opt/local/sbin
/usr/local/texlive/2016/bin/universal-darwin
/usr/local/texlive/2016/bin/x86_64-darwin . /Users/dbae/bin
/opt/local/bin /opt/local/sbin
/usr/local/texlive/2016/bin/universal-darwin
/usr/local/texlive/2016/bin/x86_64-darwin /usr/bin /bin /usr/sbin
/sbin /usr/local/bin /opt/X11/bin /Library/TeX/texbin<br>
Macintosh-2:~% which python3<br>
/opt/local/bin/python3<br>
Macintosh-2:~% ls -l /opt/local/bin/python3<br>
lrwxr-xr-x 1 root wheel 24 5 Sep 20:50 /opt/local/bin/python3@
-> /opt/local/bin/python3.6<br>
Macintosh-2:~% which pip<br>
/opt/local/bin/pip<br>
Macintosh-2:~% which pip3<br>
/usr/local/bin/pip3<br>
Macintosh-2:~% sudo port select pip3 py36-pip<br>
Password:<br>
Selecting 'py36-pip' for 'pip3' failed: The specified group 'pip3'
does not exist.<br>
Macintosh-2:~% ls -l /opt/local/bin/pip<br>
lrwxr-xr-x 1 root wheel 67 11 Sep 10:34 /opt/local/bin/pip@ ->
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/pip<br>
<br>
I seem to lack certain elementary knowledge about the port options.<br>
<br>
Thanks<br>
David<br>
<br>
</body>
</html>