CentOS 6.5 still come with Python 2.6 and I need 2.7, below a simple tutorial how to achieve this with no pain and not messing with installed Python.
Update CentOS and install development tools
yum -y update yum groupinstall -y 'development tools' Also you need the packages below to enable SSL, bz2, zlib for Python and some utils:
yum install -y zlib-devel bzip2-devel openssl-devel xz-libs wget Installing Python 2.7.8 from source Download Python and extract it...
Multi-Mechanize is an open source framework for performance and load testing. It runs concurrent Python scripts to generate load (synthetic transactions) against a remote site or service. Test output reports are saved as HTML or JMeter-compatible XML.
I will use pip to install the package but you can download the source and install it manually:
(bicofino.io)danilochilene@undead:~$ pip install multi-mechanize Downloading/unpacking multi-mechanize Downloading multi-mechanize-1.2.0.tar.gz Running setup.py egg_info for package multi-mechanize Downloading/unpacking Mechanize (from multi-mechanize) Downloading mechanize-0....