Phinome / google-apps-shell

Automatically exported from code.google.com/p/google-apps-shell
0 stars 0 forks source link

ImportError: No module named Tkinter #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sorry but searches didn't turn up any solution to this problem.

What steps will reproduce the problem?
1. use windows 7 ultimate
2. install python 3.2
3. command env variables to recognize python
4. reboot
5. install gasi
4. try to run gasi (command line or exe)

What is the expected output? What do you see instead?
 gasi to run

What version of the product are you using? On what operating system?
latest gasi, python 3.2, win7

Please provide any additional information below.

Traceback (most recent call last):
  File "gasi.py", line 25, in <module>
    from Tkinter import * # TODO(pickhardt) refactor this to simply "import Tkinter"
ImportError: No module named Tkinter

Original issue reported on code.google.com by jcr...@bfs.or.kr on 25 Feb 2011 at 12:03

GoogleCodeExporter commented 8 years ago
It seems that for Python 3+, Tkinter is renamed as tkinter.
I have uninstalled 3.2 and installed 2.7 instead, and the "import Tkinter" 
problem is gone.

Original comment by hkust.is...@gmail.com on 5 Mar 2011 at 1:56

GoogleCodeExporter commented 8 years ago
'Tkinter' was changed to 'tkinter' from python 2.x to 3.x
pls ref http://wiki.python.org/moin/TkInter
Just change the line to "import tkinter", should be okay.

Original comment by shik...@gmail.com on 27 Apr 2011 at 7:54

GoogleCodeExporter commented 8 years ago
same issue gam does not or will not print firstname lastname installing 
vcredis_x86.exe as precribed to resolve issues running gam 1.8

C:\gam>gam print users firstname lastname
Getting all users in the organization (may take some time on a large Google Apps
 account)...
Getting detailed info for users in mydomain.org domain (may take some
 time on a large domain)...

Usage: gam [OPTIONS]...

Google Apps Manager. Retrieve or set Google Apps domain,
user, group and nickname settings. Exhaustive list of commands
can be found at: http://code.google.com/p/google-apps-manager/wiki/GAMExamples

Examples:
gam info domain
gam create user jsmith firstname John lastname Smith password secretpass
gam update user jsmith suspended on
gam.exe update group announcements add member jsmith
...

C:\gam>

Original comment by ronaldvi...@ugothere.sunyorange.edu on 9 Jun 2011 at 7:18