擅长:python、mysql、java
<p>包管理器解决了诸如依赖关系和卸载之类的问题。你知道吗</p>
<p>另外,当使用<code>pip</code>安装包时,包通常是用<code>setup.py</code>脚本构建的。虽然对于纯Python模块来说这可能不是问题,但如果包包含任何扩展模块或其他一些定制的东西,那么将文件复制到<code>site-packages</code>就行不通了(我实际上不知道为什么它在您的<code>numpy</code>中起作用,因为它确实包含C扩展模块)。你知道吗</p>