Usually, we can easily install scrapy on Linux and macOS by command
$ pip3 install scrapy
This way works well on Ubuntu or Debian, but on macOS, when you finish the installation process and want to use it, error maybe occur
$ scrapy
zsh:command not found: scrapy
To fix this problem, you can create a soft link by command
$ sudo ln -s /Library/Frameworks/Python.framework/Versions/3.7/bin/scrapy /usr/local/bin/scrapy
Notification
Considering your Python’s Version may be different. “/Library/Frameworks/Python.framework/Versions/3.7/bin/scrapy” may be different on your personal. To ensure this, you can find your Python’s path by
which python3
Then find your scrapy in this directory and modify the “/Library/Frameworks/Python.framework/Versions/3.7/bin/scrapy”.