> sudo apt install python3
> sudo apt install python3-pip
> sudo pip3 install scrapy
( The directory '/home/xxx/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. )
or
> sudo -H pip3 install scrapy