[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-16 Thread Gilbert Wilson

New submission from Gilbert Wilson :

The python-3.6.5-macosx10.6.pkg installs pip3 as pip. This means if you have 
both python2.7.x and 3.6.x you get unexpected and undesirable behavior. 
According to the release notes in 3.6.5:

Python 3 and Python 2 Co-existence

Python.org Python 3.6 and 2.7.x versions can both be installed on your system 
and will not conflict. Command names for Python 3 contain a 3 in them, python3 
(or python3.6), idle3 (or idle3.6), pip3 (or pip3.6), etc.  Python 2.7 command 
names contain a 2 or no digit: python2 (or python2.7 or python), idle2 (or 
idle2.7 or idle), etc.

The release notes for Python2.7.14 have a similarly worded note on Python 3 and 
Python 2 co-existence.

For both Pythons to properly coexist you must install Python2.7.x after 
installing Python3.6.x or manually fix the changes that the Python installers 
make to your ~/.profile PATH environmental variable.

$ which pip3
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3

$ ls -l $(dirname $(which pip3))
[SNIP]
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip3
-rwxr-xr-x  1 gilw  admin263 Apr 16 13:05 pip3.6
[SNIP]

--
components: macOS
messages: 315369
nosy: dbxgil, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python.org macOS pkg installs pip3 as pip
versions: Python 3.6

___
Python tracker 
<https://bugs.python.org/issue33290>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33290] Python.org macOS pkg installs pip3 as pip

2018-04-17 Thread Gilbert Wilson

Gilbert Wilson  added the comment:

Well what do you know, it does indeed look like a pip3 upgrade issue! I'll 
wander over to the pip issue tracker and file a bug/upvote over there. Thanks!


gilw-mbp:bin gilw$ ls -al pip*
-rwxrwxr-x  1 root  admin  253 Apr 17 09:21 pip3
-rwxrwxr-x  1 root  admin  253 Apr 17 09:21 pip3.6

gilw-mbp:bin gilw$ pip3 install --upgrade pip
Collecting pip
  Downloading 
https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl
 (1.3MB)
100% || 1.3MB 1.0MB/s
Installing collected packages: pip
  Found existing installation: pip 9.0.3
Uninstalling pip-9.0.3:
  Successfully uninstalled pip-9.0.3
Successfully installed pip-10.0.0
gilw-mbp:bin gilw$ ls -al pip*
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip3
-rwxr-xr-x  1 gilw  admin  263 Apr 17 09:23 pip3.6

--

___
Python tracker 
<https://bugs.python.org/issue33290>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com