I removed all the old installation and did it again $ python ./bin/ez_setup.py -f http://www.turbogears.org/download/index.html --install-dir ./lib/python2.4/site-packages/ --script-dir ./bin TurboGears
Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6a9-py2.4.egg Reading http://www.turbogears.org/download/index.html Searching for TurboGears Best match: TurboGears 0.8.9 Downloading http://www.turbogears.org/download/eggs/TurboGears-0.8.9-py2.4.egg Processing TurboGears-0.8.9-py2.4.egg creating /home/sales/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Extracting TurboGears-0.8.9-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing tg-admin script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("TurboGears") # latest installed version pkg_resources.require("TurboGears==0.8.9") # this exact version pkg_resources.require("TurboGears>=0.8.9") # this version or higher Processing dependencies for TurboGears Searching for TestGears>=0.2 Best match: TestGears 0.2 Downloading http://www.turbogears.org/download/eggs/TestGears-0.2-py2.4.egg Processing TestGears-0.2-py2.4.egg Moving TestGears-0.2-py2.4.egg to /home/sales/lib/python2.4/site-packages Installed /home/sales/lib/python2.4/site-packages/TestGears-0.2-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("TestGears") # latest installed version pkg_resources.require("TestGears==0.2") # this exact version pkg_resources.require("TestGears>=0.2") # this version or higher Searching for setuptools>=0.6a8 Best match: setuptools 0.6a9dev-r41857 Downloading http://www.turbogears.org/download/eggs/setuptools-0.6a9dev_r41857-py2.4.egg Processing setuptools-0.6a9dev_r41857-py2.4.egg creating /home/sales/lib/python2.4/site-packages/setuptools-0.6a9dev_r41857-py2.4.egg Extracting setuptools-0.6a9dev_r41857-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing easy_install script to /home/sales/bin/ Installing easy_install script to /home/sales/bin/ Installing easy_install.py script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/setuptools-0.6a9dev_r41857-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("setuptools") # latest installed version pkg_resources.require("setuptools==0.6a9dev-r41857") # this exact version pkg_resources.require("setuptools>=0.6a9dev-r41857") # this version or higher Searching for FormEncode>=0.4 Best match: FormEncode 0.4 Downloading http://www.turbogears.org/download/eggs/FormEncode-0.4-py2.4.egg Processing FormEncode-0.4-py2.4.egg creating /home/sales/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg Extracting FormEncode-0.4-py2.4.egg to /home/sales/lib/python2.4/site-packages Installed /home/sales/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("FormEncode") # latest installed version pkg_resources.require("FormEncode==0.4") # this exact version pkg_resources.require("FormEncode>=0.4") # this version or higher Searching for cElementTree>=1.0.2 Best match: cElementTree 1.0.5-20051216 Downloading http://www.turbogears.org/download/eggs/cElementTree-1.0.5-20051216.tar.gz Processing cElementTree-1.0.5-20051216.tar.gz Running cElementTree-1.0.5-20051216/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tivIEK/cElementTree-1.0.5-20051216/egg-dist-tmp-pIynAR zip_safe flag not set; analyzing archive contents... Installed /home/sales/lib/python2.4/site-packages/cElementTree-1.0.5_20051216-py2.4-linux-i686.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("cElementTree") # latest installed version pkg_resources.require("cElementTree==1.0.5-20051216") # this exact version pkg_resources.require("cElementTree>=1.0.5-20051216") # this version or higher Searching for elementtree>=1.2.6 Best match: elementtree 1.2.6 Downloading http://www.turbogears.org/download/eggs/elementtree-1.2.6-py2.4.egg Processing elementtree-1.2.6-py2.4.egg Moving elementtree-1.2.6-py2.4.egg to /home/sales/lib/python2.4/site-packages Installed /home/sales/lib/python2.4/site-packages/elementtree-1.2.6-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("elementtree") # latest installed version pkg_resources.require("elementtree==1.2.6") # this exact version pkg_resources.require("elementtree>=1.2.6") # this version or higher Searching for json-py>=3.4 Best match: json-py 3.4 Downloading http://www.turbogears.org/download/eggs/json_py-3.4-py2.4.egg Processing json_py-3.4-py2.4.egg Moving json_py-3.4-py2.4.egg to /home/sales/lib/python2.4/site-packages Installed /home/sales/lib/python2.4/site-packages/json_py-3.4-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("json-py") # latest installed version pkg_resources.require("json-py==3.4") # this exact version pkg_resources.require("json-py>=3.4") # this version or higher Searching for SQLObject>=0.7.1dev-r1457 Best match: SQLObject 0.7.1dev-r1457 Downloading http://www.turbogears.org/download/eggs/SQLObject-0.7.1dev_r1457-py2.4.egg Processing SQLObject-0.7.1dev_r1457-py2.4.egg creating /home/sales/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg Extracting SQLObject-0.7.1dev_r1457-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing sqlobject-admin script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("SQLObject") # latest installed version pkg_resources.require("SQLObject==0.7.1dev-r1457") # this exact version pkg_resources.require("SQLObject>=0.7.1dev-r1457") # this version or higher Searching for CherryPy>=2.1.1 Best match: CherryPy 2.1.1 Downloading http://www.turbogears.org/download/eggs/CherryPy-2.1.1-py2.4.egg Processing CherryPy-2.1.1-py2.4.egg creating /home/sales/lib/python2.4/site-packages/CherryPy-2.1.1-py2.4.egg Extracting CherryPy-2.1.1-py2.4.egg to /home/sales/lib/python2.4/site-packages Installed /home/sales/lib/python2.4/site-packages/CherryPy-2.1.1-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("CherryPy") # latest installed version pkg_resources.require("CherryPy==2.1.1") # this exact version pkg_resources.require("CherryPy>=2.1.1") # this version or higher Searching for kid>=0.8 Best match: kid 0.8 Downloading http://www.turbogears.org/download/eggs/kid-0.8-py2.4.egg Processing kid-0.8-py2.4.egg creating /home/sales/lib/python2.4/site-packages/kid-0.8-py2.4.egg Extracting kid-0.8-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing kid script to /home/sales/bin/ Installing kidc script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/kid-0.8-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("kid") # latest installed version pkg_resources.require("kid==0.8") # this exact version pkg_resources.require("kid>=0.8") # this version or higher Processing setuptools-0.6a9-py2.4.egg creating /home/sales/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg Extracting setuptools-0.6a9-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing easy_install script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("setuptools") # latest installed version pkg_resources.require("setuptools==0.6a9") # this exact version pkg_resources.require("setuptools>=0.6a9") # this version or higher Processing dependencies for setuptools==0.6a9 Reading http://www.turbogears.org/download/index.html Searching for TurboGears Best match: TurboGears 0.8.9 Downloading http://www.turbogears.org/download/eggs/TurboGears-0.8.9-py2.4.egg Processing TurboGears-0.8.9-py2.4.egg removing '/home/sales/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg' (and everything under it) creating /home/sales/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Extracting TurboGears-0.8.9-py2.4.egg to /home/sales/lib/python2.4/site-packages Installing tg-admin script to /home/sales/bin/ Installed /home/sales/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg Because this distribution was installed --multi-version or --install-dir, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("TurboGears") # latest installed version pkg_resources.require("TurboGears==0.8.9") # this exact version pkg_resources.require("TurboGears>=0.8.9") # this version or higher Processing dependencies for TurboGears $ ls ./lib/python2.4/site-packages/ CherryPy-2.1.1-py2.4.egg/ Crypto/ FormEncode-0.4-py2.4.egg/ SQLObject-0.7.1dev_r1457-py2.4.egg/ TestGears-0.2-py2.4.egg TurboGears-0.8.9-py2.4.egg/ _xmlplus/ cElementTree-1.0.5_20051216-py2.4-linux-i686.egg cx_Oracle.so* elementtree-1.2.6-py2.4.egg json_py-3.4-py2.4.egg kid-0.8-py2.4.egg/ lekatnet/ setuptools-0.6a9-py2.4.egg/ setuptools-0.6a9dev_r41857-py2.4.egg/ twisted/ zope/ $ ls ./lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/ EGG-INFO/ easy_install.py easy_install.pyc pkg_resources.py pkg_resources.pyc setuptools/ site.py site.pyc $ echo $PYTHONPATH /home/sales/lib/python2.4/site-packages/ After that I tried to manually create the setuptools.pth file with the path in it and I still got the import pkg_resources error Thanks for the help Gustavo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

