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


Groups > comp.lang.python > #59302 > unrolled thread

Trying tcompile an use the Python 3.4a

Started byFerrous Cranus <nikos.gr33k@gmail.com>
First post2013-11-13 16:17 +0200
Last post2013-11-14 11:28 -0800
Articles 20 on this page of 33 — 10 participants

Back to article view | Back to comp.lang.python


Contents

  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

Page 1 of 2  [1] 2  Next page →


#59302 — Trying tcompile an use the Python 3.4a

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 16:17 +0200
SubjectTrying tcompile an use the Python 3.4a
Message-ID<l601li$9kp$1@news.grnet.gr>
$ mkdir temp
$ cd temp
$ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2
$ tar -xjvf Python-3.4.tar.bz2
$ cd Python-3.3.2
$ ./configure
$ make && make test
$ su
# make install
# exit
$ $ cd ../ && rm -rf Python-3.4


root@secure [/home/nikos/www/cgi-bin]# python3 -V
Python 3.4.0a4


can yu please tell me where python 3.4a was placed in the system?

i tried

#!/usr/bin/python3
#!/usr/local/bin/python3

and also is there a way to call it like #!/usr/bin/python

i know it can be done via ln 0s but i have to know where the newest 
python got installed.

Thank you.

[toc] | [next] | [standalone]


#59303

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 16:21 +0200
Message-ID<l601sn$rf8$1@news.grnet.gr>
In reply to#59302
Στις 13/11/2013 4:17 μμ, ο/η Ferrous Cranus έγραψε:
> $ mkdir temp
> $ cd temp
> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2
> $ tar -xjvf Python-3.4.tar.bz2
> $ cd Python-3.3.2
> $ ./configure
> $ make && make test
> $ su
> # make install
> # exit
> $ $ cd ../ && rm -rf Python-3.4
>
>
> root@secure [/home/nikos/www/cgi-bin]# python3 -V
> Python 3.4.0a4
>
>
> can yu please tell me where python 3.4a was placed in the system?
>
> i tried
>
> #!/usr/bin/python3
> #!/usr/local/bin/python3
>
> and also is there a way to call it like #!/usr/bin/python
>
> i know it can be done via ln 0s but i have to know where the newest
> python got installed.
>
> Thank you.


I also tried to install pip and easy_install on my CentOS but could not 
find them.

How can I install them?

Also, I have two versions of Python, 2.6.6 and 3.4a. How will pip make 
sure to link newly installed components with Python 3.4a ?

[toc] | [prev] | [next] | [standalone]


#59305

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-11-13 15:23 +0100
Message-ID<mailman.2537.1384352618.18130.python-list@python.org>
In reply to#59302
On Wed, Nov 13, 2013 at 3:17 PM, Ferrous Cranus <nikos.gr33k@gmail.com> wrote:
> $ mkdir temp
> $ cd temp
> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2
> $ tar -xjvf Python-3.4.tar.bz2
> $ cd Python-3.3.2
> $ ./configure
> $ make && make test
> $ su
> # make install
> # exit
> $ $ cd ../ && rm -rf Python-3.4
>
>
> root@secure [/home/nikos/www/cgi-bin]# python3 -V
> Python 3.4.0a4
>
>
> can yu please tell me where python 3.4a was placed in the system?
>
> i tried
>
> #!/usr/bin/python3
> #!/usr/local/bin/python3
>
> and also is there a way to call it like #!/usr/bin/python
>
> i know it can be done via ln 0s but i have to know where the newest python
> got installed.
>
> Thank you.
> --
> https://mail.python.org/mailman/listinfo/python-list

The command you are looking for is: which python3
Alternatively, you could run `where python3` to see how big the mess
on your system is (i.e. how many interpreters you have).

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

[toc] | [prev] | [next] | [standalone]


#59306

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 16:26 +0200
Message-ID<l6026t$rf8$2@news.grnet.gr>
In reply to#59305
Στις 13/11/2013 4:23 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:
> On Wed, Nov 13, 2013 at 3:17 PM, Ferrous Cranus <nikos.gr33k@gmail.com> wrote:
>> $ mkdir temp
>> $ cd temp
>> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2
>> $ tar -xjvf Python-3.4.tar.bz2
>> $ cd Python-3.3.2
>> $ ./configure
>> $ make && make test
>> $ su
>> # make install
>> # exit
>> $ $ cd ../ && rm -rf Python-3.4
>>
>>
>> root@secure [/home/nikos/www/cgi-bin]# python3 -V
>> Python 3.4.0a4
>>
>>
>> can yu please tell me where python 3.4a was placed in the system?
>>
>> i tried
>>
>> #!/usr/bin/python3
>> #!/usr/local/bin/python3
>>
>> and also is there a way to call it like #!/usr/bin/python
>>
>> i know it can be done via ln 0s but i have to know where the newest python
>> got installed.
>>
>> Thank you.
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>
> The command you are looking for is: which python3
> Alternatively, you could run `where python3` to see how big the mess
> on your system is (i.e. how many interpreters you have).
>


root@secure [~]# which python3
/usr/local/bin/python3
root@secure [~]# where pyhton3
-bash: where: command not found

also how can a link the newset python to just /usr/bin/python.
here is what i tried

root@secure [~]# ln -s /usr/local/bin/python3 /usr/bin/python
ln: creating symbolic link `/usr/bin/python': File exists
root@secure [~]#

[toc] | [prev] | [next] | [standalone]


#59311

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-11-13 15:59 +0000
Message-ID<5283a1e7$0$30003$c3e8da3$5496439d@news.astraweb.com>
In reply to#59306
On Wed, 13 Nov 2013 16:26:37 +0200, Ferrous Cranus wrote:

> root@secure [~]# which python3
> /usr/local/bin/python3
> root@secure [~]# where pyhton3
> -bash: where: command not found

That just means that you don't have the "where" command installed. Oh 
well, if it's not installed you can't use it. (I don't have it installed 
on any of my systems either.)


> also how can a link the newset python to just /usr/bin/python.

Don't do that, you will break your system. The OS expects the python 
command to be Python 2, not Python 3, and ESPECIALLY not an alpha-quality 
version 3.4.

If you decide to ignore this advice, and break your system, don't bother 
ask for help here. You won't get any from me.


> here is what i tried
> 
> root@secure [~]# ln -s /usr/local/bin/python3 /usr/bin/python ln:
> creating symbolic link `/usr/bin/python': File exists root@secure [~]#

That's not a Python issue, that's a basic Linux sys admin issue. Go buy 
yourself a book on Linux and study that. Or do some googling. Read the 
man page for ln. Or just spend three seconds thinking about what an error 
message like "File exists" could possibly mean.

Really Nikos, you're not a beginner at this. Your English is excellent. 
Between simple logic and Google, you ought to be able to work out what 
"File exists" means faster than writing a post and sending it here.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#59307

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 16:28 +0200
Message-ID<l602aa$rf8$3@news.grnet.gr>
In reply to#59305
Στις 13/11/2013 4:23 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:
> On Wed, Nov 13, 2013 at 3:17 PM, Ferrous Cranus <nikos.gr33k@gmail.com> wrote:
>> $ mkdir temp
>> $ cd temp
>> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2
>> $ tar -xjvf Python-3.4.tar.bz2
>> $ cd Python-3.3.2
>> $ ./configure
>> $ make && make test
>> $ su
>> # make install
>> # exit
>> $ $ cd ../ && rm -rf Python-3.4
>>
>>
>> root@secure [/home/nikos/www/cgi-bin]# python3 -V
>> Python 3.4.0a4
>>
>>
>> can yu please tell me where python 3.4a was placed in the system?
>>
>> i tried
>>
>> #!/usr/bin/python3
>> #!/usr/local/bin/python3
>>
>> and also is there a way to call it like #!/usr/bin/python
>>
>> i know it can be done via ln 0s but i have to know where the newest python
>> got installed.
>>
>> Thank you.
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>
> The command you are looking for is: which python3
> Alternatively, you could run `where python3` to see how big the mess
> on your system is (i.e. how many interpreters you have).
>


root@secure [~]# which python
/usr/bin/python

root@secure [~]# which python3
/usr/local/bin/python3

root@secure [~]# python -V
Python 2.6.6

root@secure [~]# python3 -V
Python 3.4.0a4
root@secure [~]#

[toc] | [prev] | [next] | [standalone]


#59315

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-11-13 16:13 +0000
Message-ID<5283a523$0$30003$c3e8da3$5496439d@news.astraweb.com>
In reply to#59302
On Wed, 13 Nov 2013 16:17:22 +0200, Ferrous Cranus wrote:

> $ mkdir temp
> $ cd temp
> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2 $ tar
> -xjvf Python-3.4.tar.bz2
> $ cd Python-3.3.2
> $ ./configure
> $ make && make test
> $ su
> # make install
> # exit
> $ $ cd ../ && rm -rf Python-3.4
> 
> 
> root@secure [/home/nikos/www/cgi-bin]# python3 -V Python 3.4.0a4
> 
> 
> can yu please tell me where python 3.4a was placed in the system?
> 
> i tried
> 
> #!/usr/bin/python3
> #!/usr/local/bin/python3

And did they work? What result did you get? You've been here long enough 
that you ought to know better than to post a question like this without 
showing the actual error that you received.


> 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.


> i know it can be done via ln 0s but i have to know where the newest
> python got installed.

Here's one way (although not the best):

sudo updatedb
locate python | grep bin

Or, you can start up the Python version of your choice, then do:


py> import sys
py> sys.executable
'/usr/local/bin/python2.5'


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#59317

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 18:38 +0200
Message-ID<l609us$dm2$1@news.grnet.gr>
In reply to#59315
Στις 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 ?

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.

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

[toc] | [prev] | [next] | [standalone]


#59320

FromNed Batchelder <ned@nedbatchelder.com>
Date2013-11-13 09:29 -0800
Message-ID<fe579eae-ff28-4419-afaf-3ceb4153ab08@googlegroups.com>
In reply to#59317
On Wednesday, November 13, 2013 11:38:53 AM UTC-5, Ferrous Cranus 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 ?

No, you can't.  "python" should mean Python 2.x.  If you want to use Python 3, invoke it as "python3".

BUT: you should have a good reason to switch to Python 3.  Your existing Python programs WILL NOT WORK with Python 3.  They will require porting from Python 2 to Python 3, and that is not always a simple task, especially when you are dealing with text, such as on a web site.

I strongly recommend that you stay on Python 2, and focus on other concerns.  "I want the latest Python" is probably not a good enough reason to switch.

--Ned.

[toc] | [prev] | [next] | [standalone]


#59397

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-11-14 02:51 +0000
Message-ID<52843aae$0$29975$c3e8da3$5496439d@news.astraweb.com>
In reply to#59320
On Wed, 13 Nov 2013 09:29:38 -0800, Ned Batchelder wrote:

> I strongly recommend that you stay on Python 2, and focus on other
> concerns.

Nikos has been using Python 3.3 for his website for months now.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#59321

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-11-13 18:45 +0100
Message-ID<mailman.2542.1384364748.18130.python-list@python.org>
In reply to#59317
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

[toc] | [prev] | [next] | [standalone]


#59337

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 23:19 +0200
Message-ID<l60qdo$j35$1@news.grnet.gr>
In reply to#59321
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:
> 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.
>


Why can't i just use that?

root@secure [~]# sudo yum install python-pip
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  * base: ftp.plusline.de
  * extras: mirror.skylink-datacenter.de
  * updates: ftp.plusline.de
base 
 
 
| 3.7 kB     00:00
extras 
 
 
| 3.4 kB     00:00
updates 
 
 
| 3.4 kB     00:00
Setting up Install Process
No package python-pip available.
Error: Nothing to do
root@secure [~]#

'python-pip' is something that all repos should have, why it cannot be 
found?

[toc] | [prev] | [next] | [standalone]


#59338

FromJohannes Findeisen <mailman@hanez.org>
Date2013-11-13 22:30 +0100
Message-ID<mailman.2553.1384378301.18130.python-list@python.org>
In reply to#59337
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:

> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
> > Get ez_setup.py and get-pip.py, and run them with the desired Python.
> >
> 
> 
> Why can't i just use that?
> 
> root@secure [~]# sudo yum install python-pip
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>   * base: ftp.plusline.de
>   * extras: mirror.skylink-datacenter.de
>   * updates: ftp.plusline.de
> base 
>  
>  
> | 3.7 kB     00:00
> extras 
>  
>  
> | 3.4 kB     00:00
> updates 
>  
>  
> | 3.4 kB     00:00
> Setting up Install Process
> No package python-pip available.
> Error: Nothing to do
> root@secure [~]#
> 
> 'python-pip' is something that all repos should have, why it cannot be 
> found?

Please try to figure out your distribution specific stuff by
using a search engine! This was what I found as first result by
searching for "centos pip" at Google:

http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos

This really is not a Python question but a CentOS issue!

Regards,
Johannes

[toc] | [prev] | [next] | [standalone]


#59339

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 23:39 +0200
Message-ID<l60rje$j35$2@news.grnet.gr>
In reply to#59338
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
> On Wed, 13 Nov 2013 23:19:53 +0200
> Ferrous Cranus wrote:
>
>> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
>>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
>>>
>>
>>
>> Why can't i just use that?
>>
>> root@secure [~]# sudo yum install python-pip
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>>    * base: ftp.plusline.de
>>    * extras: mirror.skylink-datacenter.de
>>    * updates: ftp.plusline.de
>> base
>>
>>
>> | 3.7 kB     00:00
>> extras
>>
>>
>> | 3.4 kB     00:00
>> updates
>>
>>
>> | 3.4 kB     00:00
>> Setting up Install Process
>> No package python-pip available.
>> Error: Nothing to do
>> root@secure [~]#
>>
>> 'python-pip' is something that all repos should have, why it cannot be
>> found?
>
> Please try to figure out your distribution specific stuff by
> using a search engine! This was what I found as first result by
> searching for "centos pip" at Google:
>
> http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
>
> This really is not a Python question but a CentOS issue!
>
> Regards,
> Johannes
>


I have foung this link myself in the morning but it wasnt successfull:

Look:

root@secure [~]# /usr/local/bin/easy_install pip
-bash: /usr/local/bin/easy_install: No such file or directory

root@secure [~]# /usr/bin/easy_install pip
-bash: /usr/bin/easy_install: No such file or directory

If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and 
hence the modules?

[toc] | [prev] | [next] | [standalone]


#59340

FromNed Batchelder <ned@nedbatchelder.com>
Date2013-11-13 13:44 -0800
Message-ID<8ab4d755-d19b-4aa7-acea-96d7f6a59643@googlegroups.com>
In reply to#59339
On Wednesday, November 13, 2013 4:39:59 PM UTC-5, Ferrous Cranus wrote:
> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
> > On Wed, 13 Nov 2013 23:19:53 +0200
> > Ferrous Cranus wrote:
> >
> >> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
> >>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
> >>>
> >>
> >>
> >> Why can't i just use that?
> >>
> >> root@secure [~]# sudo yum install python-pip
> >> Loaded plugins: fastestmirror
> >> Loading mirror speeds from cached hostfile
> >>    * base: ftp.plusline.de
> >>    * extras: mirror.skylink-datacenter.de
> >>    * updates: ftp.plusline.de
> >> base
> >>
> >>
> >> | 3.7 kB     00:00
> >> extras
> >>
> >>
> >> | 3.4 kB     00:00
> >> updates
> >>
> >>
> >> | 3.4 kB     00:00
> >> Setting up Install Process
> >> No package python-pip available.
> >> Error: Nothing to do
> >> root@secure [~]#
> >>
> >> 'python-pip' is something that all repos should have, why it cannot be
> >> found?
> >
> > Please try to figure out your distribution specific stuff by
> > using a search engine! This was what I found as first result by
> > searching for "centos pip" at Google:
> >
> > http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
> >
> > This really is not a Python question but a CentOS issue!
> >
> > Regards,
> > Johannes
> >
> 
> 
> I have foung this link myself in the morning but it wasnt successfull:
> 
> Look:
> 
> root@secure [~]# /usr/local/bin/easy_install pip
> -bash: /usr/local/bin/easy_install: No such file or directory
> 
> root@secure [~]# /usr/bin/easy_install pip
> -bash: /usr/bin/easy_install: No such file or directory
> 
> If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and 
> hence the modules?

Nikos, we've talked about this before.  These aren't Python questions.  You need to fix your OS.  We can't help you with that.  I know you are frustrated and want answers, but you can't just post the same question here again and expect a response.  You need to solve this some other way.

Asking over and over again will simply cause another fight on this list, and no one wants that.  Find another way to solve your problem.

--Ned.

[toc] | [prev] | [next] | [standalone]


#59342

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-13 23:52 +0200
Message-ID<l60sac$j35$4@news.grnet.gr>
In reply to#59340
Στις 13/11/2013 11:44 μμ, ο/η Ned Batchelder έγραψε:
> On Wednesday, November 13, 2013 4:39:59 PM UTC-5, Ferrous Cranus wrote:
>> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
>>> On Wed, 13 Nov 2013 23:19:53 +0200
>>> Ferrous Cranus wrote:
>>>
>>>> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
>>>>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
>>>>>
>>>>
>>>>
>>>> Why can't i just use that?
>>>>
>>>> root@secure [~]# sudo yum install python-pip
>>>> Loaded plugins: fastestmirror
>>>> Loading mirror speeds from cached hostfile
>>>>     * base: ftp.plusline.de
>>>>     * extras: mirror.skylink-datacenter.de
>>>>     * updates: ftp.plusline.de
>>>> base
>>>>
>>>>
>>>> | 3.7 kB     00:00
>>>> extras
>>>>
>>>>
>>>> | 3.4 kB     00:00
>>>> updates
>>>>
>>>>
>>>> | 3.4 kB     00:00
>>>> Setting up Install Process
>>>> No package python-pip available.
>>>> Error: Nothing to do
>>>> root@secure [~]#
>>>>
>>>> 'python-pip' is something that all repos should have, why it cannot be
>>>> found?
>>>
>>> Please try to figure out your distribution specific stuff by
>>> using a search engine! This was what I found as first result by
>>> searching for "centos pip" at Google:
>>>
>>> http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
>>>
>>> This really is not a Python question but a CentOS issue!
>>>
>>> Regards,
>>> Johannes
>>>
>>
>>
>> I have foung this link myself in the morning but it wasnt successfull:
>>
>> Look:
>>
>> root@secure [~]# /usr/local/bin/easy_install pip
>> -bash: /usr/local/bin/easy_install: No such file or directory
>>
>> root@secure [~]# /usr/bin/easy_install pip
>> -bash: /usr/bin/easy_install: No such file or directory
>>
>> If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and
>> hence the modules?
>
> Nikos, we've talked about this before.  These aren't Python questions.  You need to fix your OS.  We can't help you with that.  I know you are frustrated and want answers, but you can't just post the same question here again and expect a response.  You need to solve this some other way.
>
> Asking over and over again will simply cause another fight on this list, and no one wants that.  Find another way to solve your problem.
>
> --Ned.
>


If i knew how to solve this Ned i wouldn't be asking you. My provider 
haven't replied back to me.

Actually it is a python question regarding a python installation issue.
Is it so much trouble to help me with this?

[toc] | [prev] | [next] | [standalone]


#59346

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-11-13 21:56 +0000
Message-ID<mailman.2556.1384379796.18130.python-list@python.org>
In reply to#59339
On 13/11/2013 21:39, Ferrous Cranus wrote:
> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
>> On Wed, 13 Nov 2013 23:19:53 +0200
>> Ferrous Cranus wrote:
>>
>>> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
>>>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
>>>>
>>>
>>>
>>> Why can't i just use that?
>>>
>>> root@secure [~]# sudo yum install python-pip
>>> Loaded plugins: fastestmirror
>>> Loading mirror speeds from cached hostfile
>>>    * base: ftp.plusline.de
>>>    * extras: mirror.skylink-datacenter.de
>>>    * updates: ftp.plusline.de
>>> base
>>>
>>>
>>> | 3.7 kB     00:00
>>> extras
>>>
>>>
>>> | 3.4 kB     00:00
>>> updates
>>>
>>>
>>> | 3.4 kB     00:00
>>> Setting up Install Process
>>> No package python-pip available.
>>> Error: Nothing to do
>>> root@secure [~]#
>>>
>>> 'python-pip' is something that all repos should have, why it cannot be
>>> found?
>>
>> Please try to figure out your distribution specific stuff by
>> using a search engine! This was what I found as first result by
>> searching for "centos pip" at Google:
>>
>> http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
>>
>>
>> This really is not a Python question but a CentOS issue!
>>
>> Regards,
>> Johannes
>>
>
>
> I have foung this link myself in the morning but it wasnt successfull:
>
> Look:
>
> root@secure [~]# /usr/local/bin/easy_install pip
> -bash: /usr/local/bin/easy_install: No such file or directory
>
> root@secure [~]# /usr/bin/easy_install pip
> -bash: /usr/bin/easy_install: No such file or directory
>
> If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and
> hence the modules?
>

I really don't believe this, 24 lines above this one is the link to a 
page telling you how to do it, but you're *STILL* asking!!!  What do you 
want, jam on it???

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#59347

FromFerrous Cranus <nikos.gr33k@gmail.com>
Date2013-11-14 00:00 +0200
Message-ID<l60sp3$j35$5@news.grnet.gr>
In reply to#59346
Στις 13/11/2013 11:56 μμ, ο/η Mark Lawrence έγραψε:
> On 13/11/2013 21:39, Ferrous Cranus wrote:
>> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
>>> On Wed, 13 Nov 2013 23:19:53 +0200
>>> Ferrous Cranus wrote:
>>>
>>>> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
>>>>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
>>>>>
>>>>
>>>>
>>>> Why can't i just use that?
>>>>
>>>> root@secure [~]# sudo yum install python-pip
>>>> Loaded plugins: fastestmirror
>>>> Loading mirror speeds from cached hostfile
>>>>    * base: ftp.plusline.de
>>>>    * extras: mirror.skylink-datacenter.de
>>>>    * updates: ftp.plusline.de
>>>> base
>>>>
>>>>
>>>> | 3.7 kB     00:00
>>>> extras
>>>>
>>>>
>>>> | 3.4 kB     00:00
>>>> updates
>>>>
>>>>
>>>> | 3.4 kB     00:00
>>>> Setting up Install Process
>>>> No package python-pip available.
>>>> Error: Nothing to do
>>>> root@secure [~]#
>>>>
>>>> 'python-pip' is something that all repos should have, why it cannot be
>>>> found?
>>>
>>> Please try to figure out your distribution specific stuff by
>>> using a search engine! This was what I found as first result by
>>> searching for "centos pip" at Google:
>>>
>>> http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
>>>
>>>
>>>
>>> This really is not a Python question but a CentOS issue!
>>>
>>> Regards,
>>> Johannes
>>>
>>
>>
>> I have foung this link myself in the morning but it wasnt successfull:
>>
>> Look:
>>
>> root@secure [~]# /usr/local/bin/easy_install pip
>> -bash: /usr/local/bin/easy_install: No such file or directory
>>
>> root@secure [~]# /usr/bin/easy_install pip
>> -bash: /usr/bin/easy_install: No such file or directory
>>
>> If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and
>> hence the modules?
>>
>
> I really don't believe this, 24 lines above this one is the link to a
> page telling you how to do it, but you're *STILL* asking!!!  What do you
> want, jam on it???
>


But i have gone to the link and did what it said and it didn't proved 
usefull thats why i re-ask.

[toc] | [prev] | [next] | [standalone]


#59349

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-11-13 22:32 +0000
Message-ID<mailman.2557.1384381988.18130.python-list@python.org>
In reply to#59347
On 13/11/2013 22:00, Ferrous Cranus wrote:
> Στις 13/11/2013 11:56 μμ, ο/η Mark Lawrence έγραψε:
>> On 13/11/2013 21:39, Ferrous Cranus wrote:
>>> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
>>>> On Wed, 13 Nov 2013 23:19:53 +0200
>>>> Ferrous Cranus wrote:
>>>>
>>>>> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
>>>>>> Get ez_setup.py and get-pip.py, and run them with the desired Python.
>>>>>>
>>>>>
>>>>>
>>>>> Why can't i just use that?
>>>>>
>>>>> root@secure [~]# sudo yum install python-pip
>>>>> Loaded plugins: fastestmirror
>>>>> Loading mirror speeds from cached hostfile
>>>>>    * base: ftp.plusline.de
>>>>>    * extras: mirror.skylink-datacenter.de
>>>>>    * updates: ftp.plusline.de
>>>>> base
>>>>>
>>>>>
>>>>> | 3.7 kB     00:00
>>>>> extras
>>>>>
>>>>>
>>>>> | 3.4 kB     00:00
>>>>> updates
>>>>>
>>>>>
>>>>> | 3.4 kB     00:00
>>>>> Setting up Install Process
>>>>> No package python-pip available.
>>>>> Error: Nothing to do
>>>>> root@secure [~]#
>>>>>
>>>>> 'python-pip' is something that all repos should have, why it cannot be
>>>>> found?
>>>>
>>>> Please try to figure out your distribution specific stuff by
>>>> using a search engine! This was what I found as first result by
>>>> searching for "centos pip" at Google:
>>>>
>>>> http://superuser.com/questions/292378/how-to-install-pip-and-easy-install-on-centos
>>>>
>>>>
>>>>
>>>>
>>>> This really is not a Python question but a CentOS issue!
>>>>
>>>> Regards,
>>>> Johannes
>>>>
>>>
>>>
>>> I have foung this link myself in the morning but it wasnt successfull:
>>>
>>> Look:
>>>
>>> root@secure [~]# /usr/local/bin/easy_install pip
>>> -bash: /usr/local/bin/easy_install: No such file or directory
>>>
>>> root@secure [~]# /usr/bin/easy_install pip
>>> -bash: /usr/bin/easy_install: No such file or directory
>>>
>>> If i cannot use 'yum' or even 'easy_setup' how will i install 'pip' and
>>> hence the modules?
>>>
>>
>> I really don't believe this, 24 lines above this one is the link to a
>> page telling you how to do it, but you're *STILL* asking!!!  What do you
>> want, jam on it???
>>
>
>
> But i have gone to the link and did what it said and it didn't proved
> usefull thats why i re-ask.

Wrong.  You've once again not bothered to read the information that's 
been handed to you on a plate.  If you'd followed the instructions you 
would not get the "No such file or directory" error shown above.  I'm 
not going to spoon feed you, so please go away and sort this out for 
yourself, we're sick to death of seeing you here.

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#59374

FromNed Batchelder <ned@nedbatchelder.com>
Date2013-11-13 16:57 -0800
Message-ID<b4e744dc-32e9-4e44-83e3-e88a0490d358@googlegroups.com>
In reply to#59349
On Wednesday, November 13, 2013 5:32:49 PM UTC-5, Mark Lawrence wrote:
> Wrong.  You've once again not bothered to read the information that's 
> been handed to you on a plate.  If you'd followed the instructions you 
> would not get the "No such file or directory" error shown above.  I'm 
> not going to spoon feed you, so please go away and sort this out for 
> yourself, we're sick to death of seeing you here.
> 
> Mark Lawrence

Mark, language like that has no place on this list.  Whatever problems are happening here, you are not helping to solve them.  Please stop.  Think about what you want this list to be like, and write when you can make a positive contribution to that effect.

http://www.python.org/psf/codeofconduct/

--Ned.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.python


csiph-web