1
gavin6liu OP pip uninstall six
``` OSError: [Errno 1] Operation not permitted: '/var/folders/fg/rzz7b0b57bb0vz79t903yqc00000gn/T/pip-lhVUMQ-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info' ``` |
2
gavin6liu OP pip show six
--- Metadata-Version: 1.1 Name: six Version: 1.4.1 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson Author-email: [email protected] License: UNKNOWN Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python Requires: |
3
gavin6liu OP scrapy
Traceback (most recent call last): File "/usr/local/bin/scrapy", line 7, in <module> from scrapy.cmdline import execute File "/Library/Python/2.7/site-packages/scrapy/__init__.py", line 48, in <module> from scrapy.spiders import Spider File "/Library/Python/2.7/site-packages/scrapy/spiders/__init__.py", line 10, in <module> from scrapy.http import Request File "/Library/Python/2.7/site-packages/scrapy/http/__init__.py", line 12, in <module> from scrapy.http.request.rpc import XmlRpcRequest File "/Library/Python/2.7/site-packages/scrapy/http/request/rpc.py", line 7, in <module> from six.moves import xmlrpc_client as xmlrpclib |
4
yishenggudou 2015-11-14 18:26:34 +08:00 1
虚拟环境
|
5
limbo0 2015-11-14 18:51:45 +08:00
ls 正解, 不过 el 系统没有遇到这个错误
|
6
patrickstar 2015-11-14 18:56:38 +08:00
用 Anaconda 吧,安装都相当简单,也支持 pip 安装和虚拟环境等。
|
7
aisk 2015-11-14 19:03:09 +08:00
用系统自带 Python / Ruby 还往全局装包就是作大死。推荐 homebrew 。
|
9
gavin6liu OP @yishenggudou thinks~~ 初学 python ,新技能 get
|