我正在尝试在Mac OS上安装scrapy:
pip install Scrapy
我收到错误
卸载zope.interface-4.1.1: 由于环境错误导致无法安装软件包:[('/ System / Library / Frameworks / Pepy.framework / Version / 2.7 / Extras / lib / python / zope / 初始化的.py”, “[Errno 1]不允许操作: “/private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-I2xi1I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/的初始化的.py'“), ( '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/init.pyc', “/私有的/ var /文件夹/ H6 / sh206j3129l3bvkbccnqp3xm0000gn / T / PIP-卸载-......]
答案 0 :(得分:0)
尝试:
sudo pip install Scrapy --upgrade --ignore-installed