Python Import Impossibility

森平 直樹 naoki_morihira at outlook.jp
Tue Apr 17 02:28:11 EDT 2018


Steven,



When I installed ‘openpyxl’, there is no error message in the command prompt screen. So I think that my installation is successfully completed.



I installed by typing ‘py -m install openpyxl’.



In my PC, python is installed in the following folder:

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\DLLs

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\Doc

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\include

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\Lib

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\libs

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\Scripts

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\tcl

C:\Users\N.Morihira\AppData\Local\Programs\Python\Python36-32\Tools



But old version is left in the following folder:

C:\Python27\Lib\site-packages

C:\Python27\Scripts



Best Regards,

---------------------
Naoki Morihira
TEL: 01181-90-6460-6265
---------------------



________________________________
差出人: Python-list <python-list-bounces+naoki_morihira=outlook.jp at python.org> が Steven D'Aprano <steve+comp.lang.python at pearwood.info> の代理で送信
送信日時: Friday, April 13, 2018 9:48:55 AM
宛先: python-list at python.org
件名: Re: Python Import Impossibility

On Fri, 13 Apr 2018 12:48:55 +0000, ?? ?? wrote:

> Hello,
>
> Could you tell me how to import the installed modules ?
>
> I have successfully installed openpyxl,

How do you know it was successful?

What did you do to install it?

How many different Python installations do you have on your system?



but When I executed ‘import
> openpyxl’, The following message is displayed:
> Traceback (most recent call last):
>   File "<pyshell#1>", line 1, in <module>
>     import openpyxl
> ModuleNotFoundError: No module named 'openpyxl'
>
> My folder is formed as follows:
> [cid:image003.png at 01D3D312.38C82830]

There are no attachments permitted on this list.




--
Steve

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


More information about the Python-list mailing list