A newbie question

Discussion in 'Python' started by Alberto Salvati, Feb 12, 2013.

  1. 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.
     
    Alberto Salvati, Feb 12, 2013
    #1
    1. Advertising

  2. 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.
     
    Colin J. Williams, Feb 12, 2013
    #2
    1. Advertising

  3. Hi, Colin.
    Thanks for your answer.
    But C:\Python27\Scripts is in my path and my trouble is about INSTALL easy_isntall.

    Bye

    A.
     
    Alberto Salvati, Feb 12, 2013
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jerry C.
    Replies:
    8
    Views:
    258
    Uri Guttman
    Nov 23, 2003
  2. Kruno Saho
    Replies:
    0
    Views:
    150
    Kruno Saho
    Apr 7, 2013
  3. Dave Angel
    Replies:
    0
    Views:
    130
    Dave Angel
    Apr 7, 2013
  4. rusi
    Replies:
    0
    Views:
    118
  5. Miki Tebeka
    Replies:
    0
    Views:
    89
    Miki Tebeka
    Apr 7, 2013
Loading...

Share This Page