This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: import unicodedata, DLL load failed on Python 2.7.3
Type: compile error Stage: resolved
Components: Unicode Versions: Python 2.7
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Gavin.Burnell, ezio.melotti, loewis, vstinner, yfdyh000
Priority: normal Keywords:

Created on 2012-05-31 22:42 by yfdyh000, last changed 2022-04-11 14:57 by admin. This issue is now closed.

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.
Date User Action Args
2022-04-11 14:57:31adminsetgithub: 59180
2017-11-09 17:59:03serhiy.storchakasetstatus: pending -> closed
resolution: out of date
stage: resolved
2017-07-19 05:22:10serhiy.storchakasetstatus: open -> pending
2012-06-01 21:12:42vstinnersetnosy: + vstinner
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