Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59321

Re: Trying tcompile an use the Python 3.4a

References <l601li$9kp$1@news.grnet.gr> <5283a523$0$30003$c3e8da3$5496439d@news.astraweb.com> <l609us$dm2$1@news.grnet.gr>
Date 2013-11-13 18:45 +0100
Subject Re: Trying tcompile an use the Python 3.4a
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2542.1384364748.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Nov 13, 2013 at 5:38 PM, Ferrous Cranus <nikos.gr33k@gmail.com> 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.

http://www.pip-installer.org/en/latest/installing.html#install-or-upgrade-setuptools

Get ez_setup.py and get-pip.py, and run them with the desired Python.

-- 
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 16:17 +0200
  Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 16:21 +0200
  Re: Trying tcompile an use the Python 3.4a Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-11-13 15:23 +0100
    Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 16:26 +0200
      Re: Trying tcompile an use the Python 3.4a Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-13 15:59 +0000
    Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 16:28 +0200
  Re: Trying tcompile an use the Python 3.4a Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-13 16:13 +0000
    Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 18:38 +0200
      Re: Trying tcompile an use the Python 3.4a Ned Batchelder <ned@nedbatchelder.com> - 2013-11-13 09:29 -0800
        Re: Trying tcompile an use the Python 3.4a Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-14 02:51 +0000
      Re: Trying tcompile an use the Python 3.4a Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-11-13 18:45 +0100
        Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 23:19 +0200
          Re: Trying tcompile an use the Python 3.4a Johannes Findeisen <mailman@hanez.org> - 2013-11-13 22:30 +0100
            Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 23:39 +0200
              Re: Trying tcompile an use the Python 3.4a Ned Batchelder <ned@nedbatchelder.com> - 2013-11-13 13:44 -0800
                Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-13 23:52 +0200
              Re: Trying tcompile an use the Python 3.4a Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 21:56 +0000
                Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-14 00:00 +0200
                Re: Trying tcompile an use the Python 3.4a Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 22:32 +0000
                Re: Trying tcompile an use the Python 3.4a Ned Batchelder <ned@nedbatchelder.com> - 2013-11-13 16:57 -0800
                Re: Trying tcompile an use the Python 3.4a Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-14 01:10 +0000
                Re: Trying tcompile an use the Python 3.4a Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-14 02:55 +0000
                Re: Trying tcompile an use the Python 3.4a Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-14 19:12 +0000
                Re: Trying tcompile an use the Python 3.4a Chris Angelico <rosuav@gmail.com> - 2013-11-15 10:23 +1100
                Re: Trying tcompile an use the Python 3.4a Johannes Findeisen <mailman@hanez.org> - 2013-11-14 01:54 +0100
                Re: Trying tcompile an use the Python 3.4a Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-14 12:22 +0200
  Re: Trying tcompile an use the Python 3.4a Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-14 01:14 +0000
    Re: Trying tcompile an use the Python 3.4a Chris Angelico <rosuav@gmail.com> - 2013-11-14 12:27 +1100
      Using alpha software in production [was Re: Trying tcompile an use the Python 3.4a] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-14 02:00 +0000
        Re: Using alpha software in production [was Re: Trying tcompile an use the Python 3.4a] Chris Angelico <rosuav@gmail.com> - 2013-11-14 13:17 +1100
  Re: Trying tcompile an use the Python 3.4a Nick the Gr33k <nikos@superhost.gr> - 2013-11-14 15:50 +0200
    Re: Trying tcompile an use the Python 3.4a Chris Angelico <rosuav@gmail.com> - 2013-11-15 00:57 +1100
    Re: Trying tcompile an use the Python 3.4a Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-11-14 11:28 -0800

csiph-web