Hello,

For some strange reason I tried to switch to TG 0.9 SVN.
I run Python 2.4.1 WinXP and MySQL 4.1 on my laptop.

Until here everything went well:

C:\Python24\Scripts\projects\turbogears\thirdparty\sqlobject>easy_install
.
Processing .
Running setup.py -q bdist_egg --dist-dir
C:\Python24\Scripts\projects\turbogears\thirdparty\sqlobject\egg-dist-tmp-gr4lgz
The required version of setuptools (>=0.6a10) is not available, and
can't be installed while this script is running. Please install
 a more recent version first.
error: Setup script exited with 2


I haven't adhered to this recommendation from the easy_install wiki
(because I haven't read it before ....):
"Windows users, don't put ez_setup.py inside your Python installation;
please put it in some other directory before running it."

Then I've tried:

C:\Python24\Lib\site-packages>easy_install --upgrade setuptools

Searching for setuptools
Reading http://www.python.org/pypi/setuptools/
Traceback (most recent call last):
  File "C:\Python24\Scripts\easy_install-script.py", line 7, in ?
    sys.exit(
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py",
line 1180, in main
    setup(script_args = ['-q','easy_install', '-v']+argv, **kw)
  File "C:\python24\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\python24\lib\distutils\dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "C:\python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py",
line 230, in run
    self.easy_install(spec, not self.no_deps)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\command\easy_install.py",
line 308, in easy_install
    download = self.package_index.fetch(
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\package_index.py",
line 353, in fetch
    self.find_packages(requirement)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\package_index.py",
line 248, in find_packages
    self.scan_url(self.index_url + requirement.project_name+'/')
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\package_index.py",
line 449, in scan_url
    self.process_url(url, True)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\package_index.py",
line 170, in process_url
    f = self.open_url(url)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\setuptools\package_index.py",
line 413, in open_url
    return urllib2.urlopen(url)
  File "C:\python24\lib\urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "C:\python24\lib\urllib2.py", line 358, in open
    response = self._open(req, data)
  File "C:\python24\lib\urllib2.py", line 376, in _open
    '_open', req)
  File "C:\python24\lib\urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "C:\python24\lib\urllib2.py", line 573, in <lambda>
    lambda r, proxy=url, type=type, meth=self.proxy_open: \
  File "C:\python24\lib\urllib2.py", line 580, in proxy_open
    if '@' in host:
TypeError: iterable argument required


Hmmm.
What's the problem now?

Somebody told me to remove the old easy_install-script.py from Scripts
directory. But this helped neither:

C:\Python24\Scripts>easy_install --upgrade setuptools
Cannot open C:\Python24\Scripts\easy_install-script.py



C:\Python24\Scripts>dir
...
17.12.2005  22:15               296 easy_install-script.py
17.12.2005  22:15             5'632 easy_install.exe


C:\Python24\Lib\site-packages>dir setupt*
......
20.02.2006  17:59           298'677 setuptools-0.6a10-py2.4.egg
17.12.2005  22:15    <DIR>          setuptools-0.6a8-py2.4.egg


How should I upgrade this setuptools beast?

Regards,
Roman


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to