Re: installing turbo gears setup.py

50 views
Skip to first unread message

andrew blowe

unread,
Nov 16, 2012, 9:43:47 AM11/16/12
to turbo...@googlegroups.com
The install on Linux seems to work fine, but on windows it doesn't. 

The reason I tried to switch to Windows is because I can't seem to get the Turbo gears server page to show up. I think it may have to do with the installation port but can't tell. 

Carlos Daniel Ruvalcaba Valenzuela

unread,
Nov 16, 2012, 10:10:44 AM11/16/12
to turbo...@googlegroups.com
How did you install python and turbogears in windows?, I very rarely
go to windows nowadays but I remember using the default python
installer, downloading setuptools and running easy_install.exe script
from python installation working very well (except for packages that
are know to not work on windows).

Looking at the paths in your traceback seems to me that stuff is being
installed outside your python installation, are you using virtualenv?,
also the fact that the file is blocked seems odd.

Perhaps a step by step list of what did you did to install python and
TG in windows could help debug the problem, I will try to check it
out.

Regards,
Carlos Daniel Ruvalcaba Valenzuela

Moritz Schlarb

unread,
Nov 17, 2012, 5:18:21 AM11/17/12
to turbo...@googlegroups.com
Then you should better try to get it working under Linux, since you will probably run into other issues on Windows.

What exactly do you mean by you can't get the page to show up?
You ran paster quickstart, python setup.py develop, paster setup-app development.ini and paster serve development.ini and you didn't see anything at localhost:8080 ?

andrew blowe

unread,
Nov 19, 2012, 9:06:28 AM11/19/12
to turbo...@googlegroups.com
Yeah I can't get the localhost:8080 page to show up. When I try to get localhost:8080 it shows me a page that says something like "It works!", which I think is the apache welcome page. 

I was mostly following this tutorial. 
I do these commands(serve seems to work, but setup-app tells me that it doesn't think I did the setup.py line): 
virtualenv --no-site-packages tg2env
cd tg2env
Scripts\activate.bat #or equivalent linux commands
paster quickstart movies
python setup.py develop
paster setup-app development.ini
paster serve development

andrew blowe

unread,
Nov 19, 2012, 12:33:16 PM11/19/12
to turbo...@googlegroups.com
Ok just found out that it seems the people that installed it before me had done something with the ports on the server and I wasn't on the right server. They came back today and told me that. So now we'll see where it goes from here. 
Reply all
Reply to author
Forward
0 new messages