小编the*_*tao的帖子

pip无法安装任何东西,错误:无效命令'egg_info'

除了Mac OSX附带的Python版本之外,我最近从他们的网站上下载了python.这是我开始在使用pip安装软件包时遇到问题.

sudo pip install -vvv pygoogle
Run Code Online (Sandbox Code Playgroud)

将输出以下内容:

The directory '/Users/robot/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/robot/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip …
Run Code Online (Sandbox Code Playgroud)

python macos zsh pip

8
推荐指数
1
解决办法
5万
查看次数

标签 统计

macos ×1

pip ×1

python ×1

zsh ×1