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.
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/profileInstall Python 3.4.3
pythonbrew install 3.4.3
pythonbrew list --know # list all installable Python versionsCreate 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.7Install Selenium
pip3 install seleniumThanks to JumpServer for the book donation.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
