After reading another similar thread (answered by Christopher Arndt) I did
the set-up differently and then ran tgsetup.py inside SPE, which warned me
about adding C:\PythonXX\Scripts to the path, once I did that the XP machine
works fine (i.e. tg-admin succeeded and my tables were created)
however in VISTA I still get
C:\OzVideoMaster\Server\OzServer>tg-admin sql create
Creating tables at mysql://[EMAIL PROTECTED]:3306/python
Traceback (most recent call last):
File "C:\OzVideoMaster\Server\OzServer\tg-admin-script.py", line 8, in
<module
>
load_entry_point('TurboGears==1.0.4.4', 'console_scripts', 'tg-admin')()
File
"C:\Python25\lib\site-packages\turbogears-1.0.4.4-py2.5.egg\turbogears\co
mmand\base.py", line 369, in main
command.run()
File
"C:\Python25\lib\site-packages\turbogears-1.0.4.4-py2.5.egg\turbogears\co
mmand\base.py", line 97, in run
sacommand(command, sys.argv)
File "<string>", line 5, in sacommand
File
"C:\Python25\lib\site-packages\turbogears-1.0.4.4-py2.5.egg\turbogears\co
mmand\sacommand.py", line 31, in create
get_engine()
NameError: global name 'get_engine' is not defined
Darthcoder wrote:
>
>
> Ok so afer downloading the wanted egg myself things improved to a
> point.
> now during tg-admin sgql create:
> file C:\Python\.....\sacommand.py line 31 in create
> get_engine()
> NameError glabl name 'get_engine' is not defined
>
>
> On Mar 20, 12:34 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
>> On Sun, Mar 16, 2008 at 6:59 PM, Darthcoder <[EMAIL PROTECTED]>
>> wrote:
>>
>> > Hi I just tried install (as per website) tgsetup.py then tg-admin,
>> > could never see error message
>> > However in Boa I managed to get this
>> > File"C:\Python25\lib\site-packages\setuptools-0.6c8-py2.5.egg
>> > \pkg_resources.py", line 1924, in require
>>
>> > working_set.resolve(self.dist.requires(self.extras),env,installer))
>> > File"C:\Python25\lib\site-packages\setuptools-0.6c8-py2.5.egg
>> > \pkg_resources.py", line 524, in resolve
>> > raise DistributionNotFound(req) # XXX put more info here
>> > DistributionNotFound: simplejson>=1.3
>> > So what's next>
>>
>> I would recommend switching to Ubuntu linux, either on other machine
>> or in virtual environment.
>> when done type in
>>
>> apt-get install python-turbogears
>>
>> this will install everything and you are good to go.
>> Lucas
> >
>
>
--
View this message in context:
http://www.nabble.com/Problems-with-install--tp16051752p16737419.html
Sent from the Turbogears General mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---