更新时间:2021-10-14 23:14:22
您可以手动安装现有的10.11安装中不存在的依赖项,然后使用--no-deps
安装其他软件包以忽略这些依赖项.这样,它将跳过six
(和已经安装的argparse
).这适用于我的10.11 beta 6安装:
You can manually install the dependencies that don't exist on a stock 10.11 install, then install the other packages with --no-deps
to ignore the dependencies. That way it will skip six
(and argparse
which is also already installed). This works on my 10.11 beta 6 install:
sudo pip install pbr
sudo pip install --no-deps stevedore
sudo pip install --no-deps virtualenvwrapper
并且无需禁用无根目录.
And no need to disable rootless.