MAC 终端装好pip
scrapy安装错误解决
# pip3升级命令
错误提示
WARNING: There was an error checking the latest version of pip.
命令修复
pip3 install --upgrade pip
超时错误
提示
socket.timeout: The read operation timed out
解决方法继续
pip3 install scrapy
添加路径命令 export PATH=$PATH:
路径错误提示
WARNING: The script scrapy is installed in '/Users/wuruiqing/Library/Python/3.8/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
命令修复
export PATH=$PATH:/Users/wuruiqing/Library/Python/3.8/bin