对的,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.

回复