I ve started reading this book "Test Driven Web Development with Python" The book seems to be good so far but i had to struggle a little to install python 3.4 in ubuntu 12.04 so decided to document what i did.
$ sudo add-apt-repository ppa:fkrull/deadsnakes
$ sudo apt-get update
$ sudo apt-get install python3.4
pip is bundled with python3.4 but to use it we need to enforce its usage by
$ python3.4 -m ensurepip
Now we can use pip3 to install Django and selenium
$ sudo add-apt-repository ppa:fkrull/deadsnakes
$ sudo apt-get update
$ sudo apt-get install python3.4
pip is bundled with python3.4 but to use it we need to enforce its usage by
$ python3.4 -m ensurepip
Now we can use pip3 to install Django and selenium
Installing Django 1.7:
Django is a popular web framework to for web development. Install this using:
$ sudo pip3 install https://github.com/django/django/archive/stable/1.7.x.zip
(Django 1.7 is still in Beta stage so we need to download it from its git hub repository manually)
$
sudo pip3 install --upgrade selenium
No comments:
Post a Comment