By default, packages are installed to the running Python installation's site-packages directory, unless you provide the -d or --install-dir option to specify an alternative directory, or specify an alternate location using distutils configuration files.
Sometimes a package's source distribution contains additional documentation, examples, configuration files, etc., that are not part of its actual code. If you want to be able to examine these files, you can use the --editable option to EasyInstall, and EasyInstall will look for a source distribution or Subversion URL for the package, then download and extract it or check it out as a subdirectory of the --build-directory you specify.
从docs:
To get source:
pythonx.y
是您的python版本。可能是python2.4
、python2.7
、python3.1
等如果您的系统中有多个版本的python,您可以
easy_install-x.y
为非默认python安装软件包。同样,x.y
是您的python版本。如果您想使用Python 3,可以使用它,但是您的系统默认值是2.7。在Ubuntu上,我相信它会安装到/usr/local/lib/python2.6/dist-packages/并且我相信它会为它安装egg。-U表示如果它已经安装了
相关问题 更多 >
编程相关推荐