Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Ubuntu 12.04 and Python 3.3 #15

Closed
thimslugga opened this issue Oct 30, 2013 · 1 comment
Closed

Ubuntu 12.04 and Python 3.3 #15

thimslugga opened this issue Oct 30, 2013 · 1 comment

Comments

@thimslugga
Copy link

The server I have at home is already running Ubuntu 12.04 and the latest Python3 version in apt-get is 3.2. I did not test pynab with Python 3.2 and just mentioning this as it may work. Here is an optional way to install Python3.3 on Ubuntu 12.04. This expects that you are able to escalate to root priviledges at some point in the install. I included install of pip and virtualenv for easy install of modules etc.

ubuntu 12.04 python 3.3.2 install for pynab

sudo apt-get install curl build-essential libbz2-dev

cd /usr/local/src
wget http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tgz
tar -xzvf Python-3.3.2.tgz

cd Python-3.3.2
./configure --prefix=/opt/python3.3
make
sudo make install

/opt/python3.3/bin/python3 or python3.3
exit()

curl http://python-distribute.org/distribute_setup.py | /opt/python3.3/bin/python3.3

curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | /opt/python3.3/bin/python3.3

/opt/python3.3/bin/pip install virtualenv
/opt/python3.3/bin/pip install virtualenvwrapper

Add /opt/python3.3/bin to path and make sure it's before /usr/ stuff as system if you have python3 installed via apt-get. Otherwise add it farther down your path and remember to access it via python3.3 script.

export PATH=:/opt/python3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH

@jamesmeneghello
Copy link
Owner

Cheers, I'll add a link to this issue in the README for people running 12.04.

jamesmeneghello added a commit that referenced this issue Nov 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants