Error run scrapy after install docker

I want to crawl from dynamic content using scrapy. I get from the internet that I must install docker. But after installing it, I always get error when I run:

scrapy runspider example.py

or other scrapy command. Then I uninstall docker. But the error is still showed. This is the error:
enter image description here

  • difference between building a docker from ubuntu base image and python base image?
  • It's possible to add an interface to a Docker container for speed up connectivity?
  • Dockerizing java app
  • docker-credential-gcr not found inside Docker image although executable is there
  • enable gzip compression for Apache running in docker container
  • How to mount volume into the source code of the app?
  • then I try to install pypiwin32, there is an error too:enter image description here

    How to solve it?

  • Use certificates in Docker container of Jenkins
  • IP variable expansion in Kubernetes Pod definition
  • Do ruby gi lmitations apply to docker containers
  • Docker and Cloudera Quick start: How to run own jar-file?
  • Fail to execute command using Docker
  • Docker - set DNS from inside container - for VPN?
  • One Solution collect form web for “Error run scrapy after install docker”

    Maybe it’s just a permission denied because pip is trying to set files in a directory which need more privileges.

    Try to run your console with administration privileges and executing:

    pip install pypiwin32
    

    Then try again to run your script, without admin privileges.


    Edit:

    If you don’t want to run cmd as admin, you could try something like:

    python -m pip install pypiwin32
    

    But I’m not sure if it will work.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.