【发布时间】:2026-01-10 22:15:01
【问题描述】:
我想将 pip 包安装到不同的目录,但 pip 拒绝这样做。
$ pip install django -t output
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 264, in finalize_options
"must supply either home or prefix/exec-prefix -- not both"
DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
【问题讨论】:
-
可能与这个问题重复:*.com/questions/24257803/…