扩展特定版本的 Python(在 Linux Ubuntu/Unity 上)
我最近得到了 Ubuntu 11.10,并在上面安装了几个版本的 Python, 包括 EPD Python、Python 2.7(标准)和 Python 3.2。 我主要使用 EPD 发行版,并希望将其扩展为 mpmath 模块。基本上这听起来很简单,但 Linux 总是 将软件包安装到标准 2.7 或 3.2 版本。
如何具体扩展 EPD 分发范围?我必须承认我对 Linux 和 Python 都很陌生,所以希望有一个简单的解决方案。
I recently got Ubuntu 11.10 and put several versions of Python on it,
including EPD Python, Python 2.7 (standard) and Python 3.2.
I'm primarily using the EPD distribution and wanted to extend it with
the mpmath module. Basically that sounds very easy but Linux always
installs the package to the standard 2.7 or 3.2 version.
How can I specifically extend the EPD distribution? I must confess that I'm pretty new to both Linux and Python, so there is hopefully an easy solution to this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 easy_install 安装软件包,则可以
将软件包安装到该 python 版本。
If you're installing the package with easy_install, you can do
That will install the package to that python version.