[IPython-User] ssh tunnels, pre-0.12

David Froger david.froger@gmail....
Wed Aug 31 06:27:54 CDT 2011


> Current master reports its version as 0.12.dev, so you are not using current
> IPython if it reports 0.11. check your git branch to make sure it's up to
> date, and check that you don't have an older installed IPython ahead of it
> on Python's path.

Thanks MinRK.
I reinstall from zero and it is ok... Don't know where it was wrong.

If it can help somebody, here is what I did on Ubuntu 10.04.
(but there is nothing more than what is explained on the zeromg and
ipython documentation).

Best,
David



#==================================================
# install/uniinstall official packages
#==================================================
sudo apt-get install build-essential uuid-dev
sudo apt-get remove --purge ipython

#==================================================
# some directories
#==================================================
ARCHIVE_DIR=$HOME/archives
BUILD_DIR=$HOME/Tmp
INSTALL_DIR=$HOME/.local

for dir in $ARCHIVE_DIR $BUILD_DIR $INSTALL_DIR
do
    [ -d $dir ] || mkdir $dir
done

#==================================================
# download archives
#==================================================
cd $ARCHIVE_DIR
wget http://download.zeromq.org/zeromq-2.1.9.tar.gz
wget https://github.com/zeromq/pyzmq/downloads/pyzmq-2.1.9.tar.gz
git clone https://github.com/ipython/ipython.git

#==================================================
# install zeromq
#==================================================
cd $BUILD_DIR
cp $ARCHIVE_DIR/zeromq-2.1.9.tar.gz ./
tar xvzf zeromq-2.1.9.tar.gz
cd zeromq-2.1.9
./configure --prefix=$INSTALL_DIR
make
make install

#==================================================
# install de pyzmq
#==================================================
cd $BUILD_DIR
cp $ARCHIVE_DIR/pyzmq-2.1.9.tar.gz ./
tar xvzf pyzmq-2.1.9.tar.gz
cd pyzmq-2.1.9
python setup.py configure --zmq=$INSTALL_DIR
python setup.py build
python setup.py install --prefix=$INSTALL_DIR

#==================================================
# installation de ipython 0.12
#==================================================
cd $BUILD_DIR
cp -r $ARCHIVE_DIR/ipython ./
cd ipython
python setup.py install --prefix=$INSTALL_DIR

#==================================================
# run ipython
#==================================================
$INSTALL_DIR/bin/ipython kernel


More information about the IPython-User mailing list