Sorry, it's a DistributionNotFound error. Here's the end of the traceback.

  File
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
line 270, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
line 531, in get_context
    entry_point, protocol, ep_name = self.find_egg_entry_point(
  File
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
line 552, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File
"c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_resources.py",
line 585, in require
    needed = self.resolve(parse_requirements(requirements))
  File
"c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_resources.py",
line 483, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Routes>=1.4.1

davep

quote author='Phillip J. Eby'>
At 06:47 PM 9/8/2006 -0700, David Primmer wrote:
>I've recently figured out how to do wsgi with IIS
><http://pylonshq.com/project/pylonshq/wiki/ServePylonsWithIIS>http://pylonshq.com/project/pylonshq/wiki/ServePylonsWithIIS
>But I have problem with setuptools. If I have any zip eggs used by the app 
>I'm trying to serve with IIS, I get a dependency not found error. If I 
>remove the .egg zip files and re-download those same packages with 
>--always-unzip, they work fine. There seems to be something preventing 
>zipimport from working.

I'm afraid I haven't got a clue on this one.  I can't think of any problem 
that would cause you to get a DependencyNotFound error with a .egg file 
that wouldn't do the exact same thing for an .egg directory.

There are other kinds of errors I can think of that might happen for one 
and not the other, but DependencyNotFound isn't one of them.


-- 
View this message in context: 
http://www.nabble.com/zip-eggs-not-accessible-when-running-setuptools-under-IIS-tf2242368.html#a6219706
Sent from the Python - distutils-sig forum at Nabble.com.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to