On 2018-04-17 08:35, 森平 直樹 wrote:
> I installed by typing ‘py -m pip install openpyxl’.
> 
> 
> 
> In my PC, python is installed in the following folder:
> 
> C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32
> 
> But old version is left in the following folder:
> 
> C:\Python27
> 


There you go. py.exe probably used Python 2.7 rather than Python 3.6.
What Python version starts if you just run "py"?

If it *is* Python 2.7 that's the default, you can use "py -3 -m pip" etc.

Or, frankly, if you don't use Python 2.7, you might as well just
uninstall it to save you the headaches.

-- Thomas
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to