-E The -E (preserve environment) option indicates to the security policy that the user wishes to preserve their existing environment
variables. The security policy may return an error if the -E option is
specified and the user does not have permission to preserve the
environment.
键入} manual :
pip
时使用pip
的哪个实例由$PATH
环境变量的内容决定。作为安全措施,您的环境变量通常被sudo
替换。您可以更改此值以保留现有的$PATH
值,除非sudo
被配置为不允许。从^{由于anaconda只在您的环境(而不是root环境)中可用,所以您需要将
-E
传递给sudo。在相关问题 更多 >
编程相关推荐