Adding an extra python repo for 'yum' & finding 'pip' package
Hello i'm using CentOS v6.4
Need to install: a) pip (so that i can successfully run 'pip install pymysql' module b) python development tools I wiped the whole Python installations away (leaving intact 2.6) but i wiped out pip at the process too. Code:
nikos@superhost.gr [~]# yum search python-pip Code:
nikos@superhost.gr [~/www/data/apps]# yum search *pip* and also how can i add some extra repo that has the latest Python 3.3.2 version inside it so to execute: yum install latest_python_package ? I'm tired of compiling local python instalaltions from source. Thank you. |
python-pip is in the EPEL repo, but it looks quite old, might not be suitable for your needs.
as for the newest? this is EL6, it's NOT meant to be "new" it's meant to be stable. you can install python3 but it won't, and shouldn't, be the very latest version. |
So, hwo cna i install python's pip package?
I really need it because otherwise i have now way to 'pip install pymysql' |
Well firstly, you'd use the EPEL repo as I said, but did you think about NOT running "pip install pymysql"? Am I right in guessing you're following a random document you found online?
I don't *think* that the package you're after is available as python-mysql but you can install python software trivially without pip / easy_isntall - https://github.com/petehunt/PyMySQL#readme |
I'am a bit confused. i have compiled from source python 3.3.2
Installation # easy_install pymysql # ... or ... # python setup.py install Python 3.0 Support Simply run the build-py3k.sh script from the local directory. It will build a working package in the ./py3k directory. Shall i try easy_install pymysql ? or the poythin 3 support? Code:
|
All times are GMT -5. The time now is 09:02 AM. |