I have a requirement to use a special version of python other than the default on my machine. I am uisng ubuntu 9.10. By default, python 2.6.4 is installed. And a lot other packages depends on it. So it is impossible to remove it. And I need to install from source code since I need to use --enable-shared
to do configure before running make.
After some googling, I find that make altinsall
can be used to install multiple versions of python. But it can only handle the situation where the minior versions are different for each. For example, install python 2.6 and python 3.0 together. But not for python 2.6.4 and python 2.6.2. For this kind of situation, --prefix
option can be used for configure.
分享到:
相关推荐
ubuntu20.04离线安装python2.7.18
测试平台:ubuntu20+python2.7,windows+python3.9 理论上其他linux、windows和python版本也是支持的 ubuntu使用说明: 1. 使用前先安装必要模块:pip install pyusb,注意要安装到python2里面,如果默认安装到...
How to install ssh on ubuntu
On Unix and Mac systems if you intend to install multiple versions of Python using the same installation prefix (--prefix argument to the configure script) you must take care that your primary python ...
How to install apache on ubuntu
How to install mysql on ubuntu
How to install openjdk on ubuntu
How to install OMNET++ on Ubuntu 12.10
ubuntu20.04离线安装python2.7.17
How_to_install_JDK1.5_on_Ubuntu
python在ubuntu下有几种安装方法: 通过ubuntu官方的apt工具包安装 通过PPA(Personal Package Archive) 的apt工具包安装 通过编译python源代码安装 通过ubuntu官方的apt工具包安装 sudo apt-get install python...
tensorflow-1.2.1 python2.7 直接pip安装 pip install tensorflow-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl 相关依赖包自动下载 测试是否安装成功: import tensorflow as tf hello = tf.constant('Hello,...
python-3.6.4- amd64 - webinstall.rar windows安装程序
Linux一键安装Python
全名:python-3.7.2-amd64-webinstall.exe python的安装与使用: https://blog.csdn.net/qq_38161040/article/details/87295245
securecrt ubuntu版,在ubuntu上安装securecrt并破解的方法。
install-tl-ubuntu, 在Ubuntu上,安装TeX脚本 install-tl-ubuntu用法sudo./install-tl-ubuntu [OPTIONS]快速下载我推荐使用 git clone,但我已经了解到许多Github用户没有 Git 。 在这些情况下,可以直接下载
Have you ever tried to install macOS Mojave on your laptop Windows 10? but, before visiting begin our topic concerning install macOS Mojave Final. Let Pine Tree State introduce or provide info to you ...
怎么在ubuntu安装python? python在ubuntu下有几种安装方法: ● 通过ubuntu官方的apt工具包安装 ● 通过PPA(Personal Package Archive) 的apt工具包安装 ● 通过编译python源代码安装 通过ubuntu官方的apt工具包...
python27 install package