gearbox tgshell not installed

18 views
Skip to first unread message

MHCPU

unread,
Aug 9, 2017, 10:56:58 AM8/9/17
to TurboGears
I've recently installed Python 3.6.1 (using Anaconda 4.4.0) and Turbogears 2.3.11 under RHEL 6.9.  This is for deployment of a site that is running in development mode. Everything works so far on the deployment system -- the app is runs successfully under Apache/mod_wsgi.

However the tgshell command is missing from gearbox.  On my development system I've installed the same versions of Turbogears and Python, and "gearbox tgshell" works.  Is it "pip install tg.devtools" that should install tgshell?  Is there a way to diagnose why it doesn't?

Thanks for any help,
Matthew

MHCPU

unread,
Aug 9, 2017, 4:25:32 PM8/9/17
to TurboGears
I've fixed it, although I'm not sure which of these did it:

Put the name of the package in: /path/to/lib/python3.6/site-packages/easy-install.pth

gearbox quickstart -a -s project_name

pip install -e .

Alessandro Molina

unread,
Aug 10, 2017, 2:02:21 PM8/10/17
to TurboGears
tgshell command is only available from within a turbogears2 project and while having tg.devtools installed.
So you must make sure you are running the command within the tg2 application directory and that the tg2 application is installed.

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscribe@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

MHCPU

unread,
Aug 11, 2017, 2:30:43 PM8/11/17
to TurboGears
I see, thanks very much.



On Thursday, August 10, 2017 at 2:02:21 PM UTC-4, Alessandro Molina wrote:
tgshell command is only available from within a turbogears2 project and while having tg.devtools installed.
So you must make sure you are running the command within the tg2 application directory and that the tg2 application is installed.
On Wed, Aug 9, 2017 at 10:25 PM, MHCPU <matthe...@gmail.com> wrote:
I've fixed it, although I'm not sure which of these did it:

Put the name of the package in: /path/to/lib/python3.6/site-packages/easy-install.pth

gearbox quickstart -a -s project_name

pip install -e .

On Wednesday, August 9, 2017 at 10:56:58 AM UTC-4, MHCPU wrote:
I've recently installed Python 3.6.1 (using Anaconda 4.4.0) and Turbogears 2.3.11 under RHEL 6.9.  This is for deployment of a site that is running in development mode. Everything works so far on the deployment system -- the app is runs successfully under Apache/mod_wsgi.

However the tgshell command is missing from gearbox.  On my development system I've installed the same versions of Turbogears and Python, and "gearbox tgshell" works.  Is it "pip install tg.devtools" that should install tgshell?  Is there a way to diagnose why it doesn't?

Thanks for any help,
Matthew

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages