Trying tcompile an use the Python 3.4a

Chris “Kwpolska” Warrick kwpolska at
Wed Nov 13 18:45:44 CET 2013

On Wed, Nov 13, 2013 at 5:38 PM, Ferrous Cranus <nikos.gr33k at> wrote:
> Στις 13/11/2013 6:13 μμ, ο/η Steven D'Aprano έγραψε:
>>> and also is there a way to call it like #!/usr/bin/python
>> Of course there is, but only if you wish to break your system. The OS
>> will be expecting /usr/bin/python to be Python 2. Leave it be.
> Okey i will leave it be although i dislike the idea of using the shebang
> constructor as #~/usr/local/bin/python3
> Is there any way that i can use it as it was #!/usr/bin/python but firing
> python3 instead of python 2.6.6 ?

You can link it to /usr/bin/python3.  There should be no problem when
you do this.

> Also i'm tryong 'yum install python-pip' because some modules like 'pymysql'
> and 'pygeoip' are missing but CentOS doesn't seem able to detect it.

That should install it for the Python 2.6.6 you have, and possibly
under the name `python-pip` because of various shenanigans in the
redhatesque repos.

> Please help me install 'pip' so i can install the modules.

Get and, and run them with the desired Python.

Chris “Kwpolska” Warrick <>
stop html mail | always bottom-post | only UTF-8 makes sense

More information about the Python-list mailing list