(centos6.6) before updating python2.7.3 ,it is python 2.6.6. When running pybot --version, errors came out as follows.
I want to install the test environment of python 2.7.3 and robot framework 2.7.6 and paramiko-1.7.4 and pycrypto-2.6

[root@localhost robotframework-2.7.6]# pybot --version
  Traceback (most recent call last):
    File "/usr/bin/pybot", line 4, in 
      from robot import run_cli
    File "/usr/lib/python2.7/site-packages/robot/__init__.py", line 22, in 
      from robot.rebot import rebot, rebot_cli
    File "/usr/lib/python2.7/site-packages/robot/rebot.py", line 268, in 
      from robot.conf import RebotSettings
    File "/usr/lib/python2.7/site-packages/robot/conf/__init__.py", line 17, in 
      from .settings import RobotSettings, RebotSettings
    File "/usr/lib/python2.7/site-packages/robot/conf/settings.py", line 17, in 
      from robot import utils
    File "/usr/lib/python2.7/site-packages/robot/utils/__init__.py", line 23, in 
      from .compress import compress_text
    File "/usr/lib/python2.7/site-packages/robot/utils/compress.py", line 25, in 
      import zlib
  ImportError: No module named zlib
I installed the zlib-devel and python-level with the help of yum, and recompiled the python, finally completed the test of installation. Thank you for your answer.
(centos6.6) before updating python2.7.3 ,it is python 2.6.6. When running pybot --version,errors came out