最开始遇到的问题是:
使用pip安装scrapy报错:
unbuntu pkg_resources.DistributionNotFound: The 'pip==1.5.4' distribution was not found and is required by the application
因此参考博客https://blog.youkuaiyun.com/allyli0022/article/details/54894805,做了操作,结果失败了。
然后想着直接安装pip,因此
1.下载了get-pip.py
2.运行安装
sudo python get-pip.py
结果发现:
The script wheel is installed in '/usr/local/python3.6.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-locat

在Ubuntu系统中,尝试安装Scrapy时遇到pkg_resources.DistributionNotFound错误,问题源于pip 1.5.4未找到。参考博客进行操作未成功。接着下载并手动安装pip,发现pip位于'/usr/local/python3.6.8/bin'但未添加到PATH环境变量。解决方案是将该路径添加到环境变量中,从而成功使用pip。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



