在ubuntu 10.10之后的版本中,要这样安装
sudo apt-get install python-pip python-dev build-essential sudo pip install --upgrade pip sudo pip install --upgrade virtualenv
sudo apt-get install python-setuptools python-dev build-essential sudo easy_install pip sudo pip install --upgrade virtualenv
sudo git clone https://github.com/ipython/ipython.git cd ipython sudo python setup.py install
使用,
ipython
sudo easy_install ipython sudo easy_install readline sudo apt-get install sqlite3 libgdbm-dev libncurses5-dev bison libffi-dev gawk
sudo easy_install --upgrade virtualenv
sudo virtualenv --no-site-packages text_processing
sudo virtualenv --no-site-packages -p /usr/bin/python3 <实例名>
** 注意: 一定要在-p标记内使用/usr/bin/下的python对应版本