Speed Up Python Development with pythonbrew: Install Python 3.4, Django & Selenium

Learn how to quickly set up a Python 3.4.3 development environment using pythonbrew, create a virtual environment, and install essential packages like Django 1.7 and Selenium, with step‑by‑step commands and tips for efficient workflow.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Speed Up Python Development with pythonbrew: Install Python 3.4, Django & Selenium

1. Environment Preparation

Use pythonbrew to accelerate your environment setup.

Install pythonbrew

pip install pythonbrew
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
-----------------------
pythonbrew_install
source /etc/profile

Install Python 3.4.3

pythonbrew install 3.4.3
pythonbrew list --know   # list all installable Python versions

Create a working environment

pythonbrew use Python-3.4.3   # switch to this Python version for the current session
pythonbrew venv create tdd   # create a virtual environment (installs virtualenv)

Start coding

[lurenyi@lurenyi tdd]$ pythonbrew venv use tdd
(tdd)[lurenyi@lurenyi tdd]$ python -V
Python 3.4.3
(tdd)[lurenyi@lurenyi tdd]$

2. Required Packages

Python 3.4 comes with pip3, so no extra installation is needed.
Install Django
pip3 install django==1.7
Install Selenium
pip3 install selenium
Thanks to JumpServer for the book donation.
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Backend DevelopmentSeleniumvirtualenvpython3.4pythonbrew
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.