Hi,
I'm playing with TG for the first time on Windows, after some
limited playing around on linux.
easy_install of TG 1.01b appeared to work without a problem.
I already had python 2.4.2 installed. I didn't upgrade to 2.4.3.
I installed pysqlite separately, also without a problem.
When I run tg-admin, I get an exception with the error message
"ImportError: No module named run". The stack trace is given
further on.
Playing around with things, I discovered that if I copied
tg-admin.exe and tg-admin.py to some folder other than
C:/Python24/Scripts/, tg-admin seemed to work fine. So far
I've just done a quickstart and verified that the new project runs.
It looks OK.
The only thing on my PYTHONPATH is the site-packages
folder.
Here's the stacktrace I get:
Traceback (most recent call last):
File "c:\Python24\Scripts\tg-admin.py", line 7, in ?
sys.exit(
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 2097, in load_entry_point
return ep.load()
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name
__'])
File "c:\python24\lib\site-packages\TurboGears-1.0b1-py2.4.egg\turbo
gears\__init__.py", line 6, in ?
from turbogears.controllers import expose, flash, validate, redire
ct, \
File "c:\python24\lib\site-packages\TurboGears-1.0b1-py2.4.egg\turbo
gears\controllers.py", line 9, in ?
import kid
File "C:\Python24\Scripts\kid.py", line 7, in ?
sys.exit(
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 2097, in load_entry_point
return ep.load()
File "c:\python24\lib\site-packages\setuptools-0.6c2-py2.4.egg\pkg_r
esources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name
__'])
ImportError: No module named run
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---