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


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

A newbie question

Started byAlberto Salvati <zzzato@gmail.com>
First post2013-02-12 07:06 -0800
Last post2013-02-12 15:40 -0600
Articles 4 — 3 participants

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


Contents

  A newbie question Alberto Salvati <zzzato@gmail.com> - 2013-02-12 07:06 -0800
    Re: A newbie question "Colin J. Williams" <cjw@ncf.ca> - 2013-02-12 11:03 -0500
      Re: A newbie question Alberto Salvati <zzzato@gmail.com> - 2013-02-12 08:29 -0800
      Re: A newbie question Tony the Tiger <tony@tiger.invalid> - 2013-02-12 15:40 -0600

#38752 — A newbie question

FromAlberto Salvati <zzzato@gmail.com>
Date2013-02-12 07:06 -0800
SubjectA newbie question
Message-ID<b693f270-8248-4931-b51f-c7c9f95947a0@googlegroups.com>
Hi, All.
I'm a (old....) delphi developer.
I want to learn Python.
I've python 2.7 and django.
For learning purpose I want to use firebird.
But, package (egg) to use firebird needs easy_install for setup.
When i run:

python ez_setup.py install

python says me error:

Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-p
y2.7.egg
Searching for install
Reading http://pypi.python.org/simple/install/
Couldn't find index page for 'install' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for install
Best match: None
Traceback (most recent call last):
  File "ez_setup.py", line 278, in <module>
    main(sys.argv[1:])
  File "ez_setup.py", line 213, in main
    return main(list(argv)+[egg])   # we're done here
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
install.py", line 1712, in main
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
install.py", line 1700, in with_ei_usage
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
install.py", line 1716, in <lambda>
  File "C:\Python27\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
install.py", line 211, in run
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
install.py", line 434, in easy_install
  File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\package_index
.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'


In download site I get info about installer works only on win32, but I'm uisng 64 bit version, so I need to do setup manually.

Searching error, I see a lot of message baout errors AFTER easy_install was done.
Also, I see that some link used in python file does'nt exist or is broken.

TIA for any suggestion.

A.



[toc] | [next] | [standalone]


#38767

From"Colin J. Williams" <cjw@ncf.ca>
Date2013-02-12 11:03 -0500
Message-ID<kfdp43$gqq$1@theodyn.ncf.ca>
In reply to#38752
On 12/02/2013 10:06 AM, Alberto Salvati wrote:
> Hi, All.
> I'm a (old....) delphi developer.
> I want to learn Python.
> I've python 2.7 and django.
> For learning purpose I want to use firebird.
> But, package (egg) to use firebird needs easy_install for setup.
> When i run:
>
> python ez_setup.py install
>
> python says me error:
>
> Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-p
> y2.7.egg
> Searching for install
> Reading http://pypi.python.org/simple/install/
> Couldn't find index page for 'install' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://pypi.python.org/simple/
> No local packages or download links found for install
> Best match: None
> Traceback (most recent call last):
>    File "ez_setup.py", line 278, in <module>
>      main(sys.argv[1:])
>    File "ez_setup.py", line 213, in main
>      return main(list(argv)+[egg])   # we're done here
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
> install.py", line 1712, in main
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
> install.py", line 1700, in with_ei_usage
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
> install.py", line 1716, in <lambda>
>    File "C:\Python27\lib\distutils\core.py", line 152, in setup
>      dist.run_commands()
>    File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
>      self.run_command(cmd)
>    File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
>      cmd_obj.run()
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
> install.py", line 211, in run
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\command\easy_
> install.py", line 434, in easy_install
>    File "C:\Python27\Scripts\setuptools-0.6c11-py2.7.egg\setuptools\package_index
> .py", line 475, in fetch_distribution
> AttributeError: 'NoneType' object has no attribute 'clone'
>
>
> In download site I get info about installer works only on win32, but I'm uisng 64 bit version, so I need to do setup manually.
>
> Searching error, I see a lot of message baout errors AFTER easy_install was done.
> Also, I see that some link used in python file does'nt exist or is broken.
>
> TIA for any suggestion.
>
> A.
>
Try Easy_install, but first, make sure that C:\Python27\Scripts is in 
your path.

Colin W.

PS Assuming you are using Windows, you might wish to try PyScripter.  I 
was developed using Delphi.

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


#38768

FromAlberto Salvati <zzzato@gmail.com>
Date2013-02-12 08:29 -0800
Message-ID<a60b8780-c4a9-42d1-a64e-e095bb03b073@googlegroups.com>
In reply to#38767
Hi, Colin.
Thanks for your answer.
But C:\Python27\Scripts  is in my path and my trouble is about INSTALL easy_isntall.

Bye

A.

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


#38788

FromTony the Tiger <tony@tiger.invalid>
Date2013-02-12 15:40 -0600
Message-ID<SsednT86E_9cK4fMnZ2dnUVZ8qednZ2d@giganews.com>
In reply to#38767
On Tue, 12 Feb 2013 11:03:04 -0500, Colin J. Williams wrote:

> I
> was developed using Delphi.

Really...? Hmmm, perhaps that other guy wrote you? ;)


 /Grrr
-- 
          ___                  ___
 (\_--_/)  | _ ._    _|_|_  _   |o _  _ ._
 ( 9  9 )  |(_)| |\/  |_| |(/_  ||(_|(/_|
 stripes are forever - as overripe ferrets

[toc] | [prev] | [standalone]


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


csiph-web