Tag Archives: Python crawler development

Error in installing pywin32 under Windows: close failed in file object D estructor:sys.excepthook is missing lost sys.stderr

is a scrapy environment, and has encountered the following problem:

Windows install pywin32 error: close failed in the file object destructor: sys. Excepthook is missing lost sys. Stderr

solution:

1. Right click administrator to run CMD command prompt:

2. Switch to C:\Python27\Scripts folder with the command: CD C:\Python27\Scripts

3. Run python pywin32_postinstall. Py-install

indicates successful installation. Problem solving.

reproduced the original: http://www.cnblogs.com/fengxw/p/6910638.html