[Python-ml-jp 3327] Re: odbc モジュールが見えなくなった

ymasuda ymasuda @ ethercube.com
2005年 6月 16日 (木) 14:55:01 JST


エラーメッセージを読む限りでは,Python 2.4.1 が  
odbc モジュールを見つけられないということですが,
odbc モジュールは標準モジュールではないですよね.

odbc モジュールをどうやってインストールされたのでしょうか?

distutils を使って入れたのなら,setup.py を起動した  
python のバージョンを確認してみてください.


Yasushi Masuda
ymasuda @ ethercube.com


On 2005/06/16, at 14:43, katagiri wrote:

> 片桐です。
>
> Python-2.3 から 2.4.1 にバージョンアップしたら、import  
> odbc
> でエラーが発生するようになりました。
> Pythonは PyJUG サイトからダウンロードしました。
> アドバイスをお願いします。
>
> プラットフォーム:Windows2000
>
> 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜 
> 〜〜〜〜
>
> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit  
> (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
>
>     ****************************************************************
>     Personal firewall software may warn about the connection IDLE
>     makes to its subprocess using this computer's internal loopback
>     interface.  This connection is not visible on any external
>     interface and no data is sent to or received from the Internet.
>     ****************************************************************
>
> IDLE 1.1.1
>
>>>> import odbc
>>>>
>
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in -toplevel-
>     import odbc
> ImportError: No module named odbc
>
>>>>
>>>>
>
>
> ====================================================================
>  片桐 栄司
>  帝国ピストンリング(株) 技術開発部
>  E-mail: katagiri @ teikokupr.co.jp
>  TEL. 0266-23-2719 内線 393 FAX. 0266-23-2894
> ====================================================================
>
> _______________________________________________
> Python-ml-jp mailing list
> Python-ml-jp @ python.jp
> http://www.python.jp/mailman/listinfo/python-ml-jp
>




Python-ml-jp メーリングリストの案内