On Oct 27, 2:36 pm, Derick Eisenhardt <[EMAIL PROTECTED]>
wrote:
> I'm getting the exact same error. I notice during the install
> everything is coming from the 1.9.7b1/ directory until it reaches
> Pylons. Pylons is still pulling from the current/ directory. Then
> SimpleJSON follows after, also in the current directory rather than
> 1.9.7.b1
>
> On Oct 27, 7:35 am, Leandro Lucarella <[EMAIL PROTECTED]> wrote:
>
> > Mark Ramm, el 27 de octubre a las 00:18 me escribiste:
>
> > > There's a test release of TurboGears beta 1 available at
>
> > >http://turbogears.org/2.0/downloads/1.9.7b1/index/
>
> > > so you can use that link rather than the one in the getting started
> > > doc to try it out.
>
> > > So rather than
>
> > > easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> > > tg.devtools
>
> > > you would do:
>
> > > easy_install -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/index
> > > tg.devtools
>
> > I Get this error:
> > Installed /tmp/tg2env/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
> > error: Installed distribution simplejson 1.9.2 conflicts with requirement 
> > simplejson>=2.0.4
>
> > First, I didn't notice the error, and I wanted to install docutils (to 
> > follow
> > the 20 min. Wiki) and got this error too (I don't know if they are related):
> > [...]
> >   File 
> > "/tmp/tg2env/lib/python2.5/site-packages/Pylons-0.9.7rc1-py2.5.egg/pylons/configuration.py",
> >  line 22, in <module>
> >     from paste.deploy.converters import asbool
> > ImportError: No module named deploy.converters
>
> > Here is the complete instalation log:
>
> > [EMAIL PROTECTED]:/tmp$ virtualenv --no-site-packages tg2env
> > New python executable in tg2env/bin/python
> > Installing setuptools............done.
> > [EMAIL PROTECTED]:/tmp$ cd tg2env
> > [EMAIL PROTECTED]:/tmp/tg2env$ source bin/activate
> > (tg2env)[EMAIL PROTECTED]:/tmp/tg2env$ easy_install 
> > -ihttp://www.turbogears.org/2.0/downloads/1.9.7b1/indextg.devtools
> > Searching for tg.devtools
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.devtools/
> > Best match: tg.devtools 1.9.7a5
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tg.devtools-1.9.7a5.t...
> > Processing tg.devtools-1.9.7a5.tar.gz
> > Running tg.devtools-1.9.7a5/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-9seLJB/tg.devtools-1.9.7a5/egg-dist-tmp-43nhmx
> > Adding tg.devtools 1.9.7a5 to easy-install.pth file
>
> > Installed 
> > /tmp/tg2env/lib/python2.5/site-packages/tg.devtools-1.9.7a5-py2.5.egg
> > Processing dependencies for tg.devtools
> > Searching for Paste>=1.7
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/Paste/
> > Best match: Paste 1.7.1
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/Paste-1.7.1.tar.gz
> > Processing Paste-1.7.1.tar.gz
> > Running Paste-1.7.1/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-zTiTQ7/Paste-1.7.1/egg-dist-tmp-7vVtPn
> > Adding Paste 1.7.1 to easy-install.pth file
>
> > Installed /tmp/tg2env/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg
> > Searching for TurboJson>=1.2
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/TurboJson/
> > Best match: TurboJson 1.2
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/TurboJson-1.2.tar.gz
> > Processing TurboJson-1.2.tar.gz
> > Running TurboJson-1.2/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-sw8m9z/TurboJson-1.2/egg-dist-tmp-bafNq0
> > Adding TurboJson 1.2 to easy-install.pth file
>
> > Installed /tmp/tg2env/lib/python2.5/site-packages/TurboJson-1.2-py2.5.egg
> > Searching for tg.ext.repoze.who
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tg.ext.repoze.who/
> > Best match: tg.ext.repoze.who 0.1dev-r26
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tg.ext.repoze.who-0.1...
> > Processing tg.ext.repoze.who-0.1dev-r26.tar.gz
> > Running tg.ext.repoze.who-0.1dev-r26/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-2DHgPX/tg.ext.repoze.who-0.1dev-r26/egg-dist-tmp-xTi9dl
> > 'tg.ext' is declared as a package namespace, but 'tg' is not: please 
> > correct this in setup.py
> > Adding tg.ext.repoze.who 0.1dev-r26 to easy-install.pth file
>
> > Installed 
> > /tmp/tg2env/lib/python2.5/site-packages/tg.ext.repoze.who-0.1dev_r26-py2.5.egg
> > Searching for DBSprockets>=0.5dev-r380
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/DBSprockets/
> > Best match: DBSprockets 0.5dev-r411
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/DBSprockets-0.5dev-r4...
> > Processing DBSprockets-0.5dev-r411.tar.gz
> > Running DBSprockets-0.5dev-r411/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-4KHMCT/DBSprockets-0.5dev-r411/egg-dist-tmp-YTsVr3
> > Adding DBSprockets 0.5dev-r411 to easy-install.pth file
>
> > Installed 
> > /tmp/tg2env/lib/python2.5/site-packages/DBSprockets-0.5dev_r411-py2.5.egg
> > Searching for tw.forms>=0.9
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/tw.forms/
> > Best match: tw.forms 0.9.1
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/tw.forms-0.9.1.tar.gz
> > Processing tw.forms-0.9.1.tar.gz
> > Running tw.forms-0.9.1/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-8AeHIC/tw.forms-0.9.1/egg-dist-tmp-KKyyQl
> > Adding tw.forms 0.9.1 to easy-install.pth file
>
> > Installed /tmp/tg2env/lib/python2.5/site-packages/tw.forms-0.9.1-py2.5.egg
> > Readinghttp://toscawidgets.org/download/
> > Searching for ToscaWidgets>=0.9
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/ToscaWidgets/
> > Best match: ToscaWidgets 0.9.5dev-20081026
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/ToscaWidgets-0.9.5dev...
> > Processing ToscaWidgets-0.9.5dev-20081026.tar.gz
> > Running ToscaWidgets-0.9.5dev-20081026/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-vN0t5n/ToscaWidgets-0.9.5dev-20081026/egg-dist-tmp-e8b4An
> > Adding ToscaWidgets 0.9.5dev-20081026 to easy-install.pth file
>
> > Installed 
> > /tmp/tg2env/lib/python2.5/site-packages/ToscaWidgets-0.9.5dev_20081026-py2.5.egg
> > Searching for sqlalchemy-migrate>=0.4.4
> > Readinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/index/sqlalchemy-migr...
> > Best match: sqlalchemy-migrate 0.4.4
> > Downloadinghttp://www.turbogears.org/2.0/downloads/1.9.7b1/sqlalchemy-migrate-0....
> > Processing sqlalchemy-migrate-0.4.4.tar.gz
> > Running sqlalchemy-migrate-0.4.4/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/egg-dist-tmp-D72Bl8
> > Checking .pth file support in .
> > /tmp/tg2env/bin/python -E -c pass
> > Searching for py>=0.9.0-beta
> > Readinghttp://codespeak.net/download/py/
> > Best match: py 0.9.1
> > Downloadinghttp://codespeak.net/download/py/py-0.9.1.zip
> > Processing py-0.9.1.zip
> > Running py-0.9.1/setup.py -q bdist_egg --dist-dir 
> > /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/temp/easy_install-2mxxhL/py-0.9.1/egg-dist-tmp-nFbVmE
> > zip_safe flag not set; analyzing archive contents...
> > py.initpkg: module references __file__
> > py.initpkg: module references __path__
> > py.apigen.htmlgen: module MAY be using inspect.getsourcefile
> > py.apigen.rest.genrest: module references __file__
> > py.apigen.rest.testing.test_rest: module references __file__
> > py.apigen.source.path: module references __file__
> > py.apigen.tracer.docstorage: module MAY be using inspect.getsourcefile
> > py.apigen.tracer.description: module MAY be using inspect.getsource
> > py.apigen.tracer.description: module MAY be using inspect.stack
> > py.apigen.tracer.testing.test_docgen: module references __file__
> > py.apigen.tracer.testing.test_package: module references __file__
> > py.code.code: module references __path__
> > py.code.code: module MAY be using inspect.getsource
> > py.code.source: module MAY be using inspect.getsource
> > py.code.testing.test_source: module MAY be using inspect.getsource
> > py.compat.doctest: module references __file__
> > py.compat.doctest: module MAY be using inspect.getsourcefile
> > py.compat.testing._findpy: module references __file__
> > py.doc.conftest: module references __file__
> > py.execnet.rsync: module references __file__
> > py.execnet.register: module references __file__
> > py.execnet.register: module MAY be using inspect.getsource
> > py.execnet.testing.test_gateway: module MAY be using inspect.getsource
> > py.magic.greenlet: module references __file__
> > py.magic.autopath: module references __file__
> > py.magic.autopath: module references __path__
> > py.magic.testing.test_autopath: module references __file__
> > py.misc.conftest-socketgatewayrun: module references __file__
> > py.misc._dist: module references __file__
> > py.misc.dynpkg: module references __file__
> > py.misc.testing.test_initpkg: module references __file__
> > py.path.common: module references __file__
> > py.path.common: module references __path__
> > py.path.local.local: module references __file__
> > py.test.collect: module MAY be using inspect.getsourcefile
> > py.test.collect: module MAY be using inspect.findsource
> > py.test.config: module references __file__
> > py.test.item: module MAY be using inspect.stack
> > py.test.rsession.web: module references __file__
> > py.test.rsession.testing.test_rsession: module references __file__
> > py.test.terminal.terminal: module references __file__
> > py.test.testing.test_collect: module references __file__
> > py.test.testing.test_conftesthandle: module references __file__
>
> > Installed 
> > /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/py-0.9.1-py2.5.egg
> > /tmp/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/dist.py:245:
> >  UserWarning: Module py was already imported from 
> > /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/temp/easy_install-2mxxhL/py-0.9.1/py/__init__.py,
> >  but /tmp/easy_install-Snm4d9/sqlalchemy-migrate-0.4.4/py-0.9.1-py2.5.egg 
> > is being added to sys.path
> >   working_set.add(dist)
> > zip_safe flag not set; analyzing archive contents...
> > migrate.versioning.api: module MAY be using inspect.getsource
> > Adding sqlalchemy-migrate 0.4.4 to easy-install.pth file
> > Installing migrate script to /tmp/tg2env/bin
>
> > Installed 
> > /tmp/tg2env/lib/python2.5/site-packages/sqlalchemy_migrate-0.4.4-py2.5.egg
>
> ...
>
> read more »

I attempted installing all the packages that were pulling from the
wrong directory one by one before I started installing tg.devtools and
have found another problem. Pylons-0.9.7.rc2 that is in the 1.9.7.b2/
directory requires WebOb-0.9.3 or higher, but the only version
available in the 1.9.7.b2 repo is WebOb-0.9.2.

It appears any package installed after Pylons reverts back to the
current/ directory, so far the packages I've found that it happens
with are:

Pylons
simplejson
FormEncode
Genshi
repoze.who
Babel
decorator
repoze.tm2
Transaction
zope.interface
BytecodeAssembler
DecoratorTools
AddOns
Extremes
WebOb

I wish I knew more about packaging thru easy_install so I could help
more, but hopefully this will help someone figure out the problem :)

- Derick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to