ImportError: cannot import name '_win32stdio'

I work with the Scrapy platform to download data from a website, but I get the following error on the command line:

ImportError: cannot import name '_win32stdio'

Traceback is attached as a screenshot.

Please return if my program directory structure is required.

Error in CMD

+7
python visual-studio scrapy
source share
2 answers

Scrapy can work with Python 3 on windows if you make minor adjustments:

Of course, this is based on my personal experience. Since the repository will certainly change in the future, readers should beware of the age of this answer.

Update: The twisted-win package is no longer required because the corresponding files are now included in the twisted package.

+11
source share

I went through the same thing. I decided by updating the twisted package
pip install --upgrade twisted
or
pip uninstall twisted and pip install twisted

+2
source share

All Articles