Ok, i want to run a django web-application on a production VPS with CentOS. The application code is written using Python 2.7.
I have already installed Python 2.7 with a configured virtual environment by following this guide. But because I'm planning to use MySQL as a database and for other purposes, I must install package python-devel
. I tried to install it with
yum install python-devel
and got a package for an older version of Python. How can I install this package for Python v. 2.7? If I overwrite standard Python, then the couple of packages of the system (such as yum, for example) will be corrupted. Please, tell me, how to resolve this problem.
UPDATE Information about versions:
- CentOS 6.4
- Django 1.4
- Python 2.7.3
- MySQL 14.14