原因是没有建立为scrapy命令建立软链接 首先找到python3的安装位置 我的是
/usr/local/python3/bin/scrapy之后建立软链接
ln -s /usr/local/python3/bin/scrapy /usr/bin/scrapy现在再使用scrapy命令就不会报错了 检测一下:
scrapy -V