Python Pip显示未按预期工作
每当我尝试Python Pip显示未按预期工作,python,pip,Python,Pip,每当我尝试pip show IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/google_api_python_client-1.4.2-py2.7.egg/EGG-INFO/top_level.txt' Usage: pip COMMAND [OPTIONS] No command by the name pip show (maybe you meant "pip install sho
pip show
IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/google_api_python_client-1.4.2-py2.7.egg/EGG-INFO/top_level.txt'
Usage: pip COMMAND [OPTIONS]
No command by the name pip show
(maybe you meant "pip install show")
当我尝试sudo pip show
时,我得到
IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/google_api_python_client-1.4.2-py2.7.egg/EGG-INFO/top_level.txt'
Usage: pip COMMAND [OPTIONS]
No command by the name pip show
(maybe you meant "pip install show")
我做错了什么?
pip
已经过时了。问题解决了 它说show不是一个pip命令。也许你正在尝试执行pip freeze
?我这样做了,它安装了show
。。。或者我假设这就是安装的。问题仍然存在。你有什么版本的pip?我如何知道我有什么版本?用法:pip命令[OPTIONS]没有这样的选项:-V
我很想知道,升级后的pip如何解决权限问题:如果pip以前不能读取文件,为什么以后可以读取?除非错误消息本身出错。当我更新pip
时,我能够执行pip show
。在它不起作用之前。