Visual Studio Python Scrapy Error

Error Visual Studio Scrapy No Module Named Win32API

in Programming
Visual Studio Python Scrapy Error
Visual Studio Python Scrapy Error

If you are developing modules for Scrapy in Visual Studio and you encounter an error “ModuleNotFoundError: No module named ‘win32api'”, you need to install pypiwin32 package.

To do this follow the following steps:

  1. Go to you Visual Studio Project and right-click on “Python Environments”
  2. Click on your Python package references, in my case it says “Python 3.7 (64-bit) (global default)”
  3. Type pypiwin32
  4. Click on “Run command: pip Install pypiwin32”, when the pypiwin32 (223) with a green package icon on the left shows up, it means the package was successfully installedInstall Pyiwin32 Package
  5. Click on “Install pypiwin32”
  6. That should do it.

If you are not using Visual Studio, just go to your comman prompt with admin privileges and type “pip install pypiwin32”

Leave a Reply

Your email address will not be published.

*

Latest from Programming

Go to Top