classification
Title: import unicodedata, DLL load failed on Python 2.7.3
Type: compile error Stage:
Components: Unicode Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Gavin.Burnell, ezio.melotti, haypo, loewis, yfdyh000
Priority: normal Keywords:

Created on 2012-05-31 22:42 by yfdyh000, last changed 2012-06-01 21:12 by haypo.

Messages (4)
msg162030 - (view) Author: YF (yfdyh000) Date: 2012-05-31 22:42
Before I use the Python 2.7.2 on Windows XP, today I tried to upgrade to the Python 2.7.3, but encountered a problem.
When running any .py file encountered "import unicodedata" or directly run the command always returns:
Traceback (most recent call last):
......
    import unicodedata
ImportError: DLL load failed: 找不到指定的程序。
"找不到指定的程序" corresponding English is "Cannot find the specified program".

I unable provide more information because I am only a user rather than developer.

After that, I manually delete "C:\Python27\DLLs\unicodedata.pyd" file (this step must be, otherwise no effect), then reinstall (Repair) Python 2.7.2 the problem disappeared.
msg162035 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-06-01 00:14
I do not believe that this is a problem in Python. Instead, it appears that your Python installation got corrupted somehow.

I recommend to run a virus scanner.
msg162071 - (view) Author: YF (yfdyh000) Date: 2012-06-01 12:35
I compared downloaded python-2.7.3.msi file, it is consistent with the website published "MD5 checksums and sizes", and this time I disabled avast 7 and then reinstall Python 2.7.3, but this error still occurs.

After I installed Python 2.7.3 the MD5 signature of the C:\Python27\DLLs\unicodedata.pyd file is: AD7DFE789B1256F039406B640ACD9C0D

I have not found that I had any operational errors.
msg162107 - (view) Author: Gavin Burnell (Gavin.Burnell) Date: 2012-06-01 21:01
I've had the same problem on a Win64 install of EPD 7.3 (Python 2.7.3). This was after installing over the top of a 2.7.2 install. Properly removing and re-installing from clean fixed the problem.
History
Date User Action Args
2012-06-01 21:12:42hayposetnosy: + haypo
2012-06-01 21:01:13Gavin.Burnellsetnosy: + Gavin.Burnell
messages: + msg162107
2012-06-01 12:35:18yfdyh000setmessages: + msg162071
2012-06-01 00:14:26loewissetnosy: + loewis
messages: + msg162035
2012-05-31 22:42:25yfdyh000create