囧,刚刚短路没想到/etc/...  马上看文档去

2016-04-16 21:46 GMT+08:00 Sam Stoelinga <[email protected]>:

> 我觉得如果你所有用户到要同样的配置还是做个system-wide 的配置更好:/etc/pip.conf
>
> https://pip.pypa.io/en/stable/user_guide/#config-file
>
> On Sat, Apr 16, 2016 at 9:42 PM, Justin Wong <[email protected]> wrote:
>
>> 对的,sudo pip install 的话就需要把 pip.conf 写到 root 那里去。
>>
>> 有一个 xiaq 教我的姿势,用 pip install --user xxxxx
>>
>> --
>> Justin Wong
>>
>>
>>
>> On Sat, Apr 16, 2016, at 21:41, Shawn Fang wrote:
>>
>> 我照着帮助说明写好了pip.conf在我的家目录,但是pip install包时遇到PermissionDenied异常,用sudo pip
>> install则超时(跟我没用镜像一样),但是pip.conf不会是安装到root家目录吧。。。。
>> python小白,求正确姿势。
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复