[英]Error during installing scrapy in mac
While I am trying to install scrapy on my Mac Os : 当我尝试在Mac Os上安装scrapy时:
pip install Scrapy
I get an error 我得到一个错误
Uninstalling zope.interface-4.1.1: Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py', '/private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-I2xi1I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py', "[Errno 1] Operation not permitted: '/private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-I2xi1I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .pyc', '/private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-......]
卸载zope.interface-4.1.1:由于环境错误而无法安装软件包:[('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py',' /private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-I2xi1I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py',“ [Errno 1 ]不允许的操作:'/private/var/folders/h6/sh206j3129l3bvkbccnqp3xm0000gn/T/pip-uninstall-I2xi1I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .py '''),('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/zope/ init .pyc','/ private / var / folders / h6 / sh206j3129l3bvkbccnqp3xm0000gn / T / pip-卸载-......]
尝试:
sudo pip install Scrapy --upgrade --ignore-installed
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.