Traceback (most recent call last):
File "dropbox.py", line 71, in
File "zipextimporter.pyc", line 82, in load_module
File "arch\__init__.pyc", line 5, in
File "zipextimporter.pyc", line 82, in load_module
File "arch\win32\constants.pyc", line 5, in
File "zipextimporter.pyc", line 82, in load_module
File "arch\win32\internal.pyc", line 26, in
File "zipextimporter.pyc", line 82, in load_module
File "comtypes\client\__init__.pyc", line 22, in
File "zipextimporter.pyc", line 82, in load_module
File "comtypes\client\_generate.pyc", line 18, in
File "os.pyc", line 433, in __getitem__
KeyError: 'PATH'
今天才注意到安装目录的log文件
然后最后两句google:
File "os.pyc", line 433, in __getitem__ KeyError: 'PATH'
http://forums.dropbox.com/topic.php?id=26467在这里看到这个人解决了然后
进入http://www.tomshardware.co.uk/forum/76182-35-path-missing-environmental-variables这里
然后看到答案了
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)
I've found out that this PATH variable should be there and to put it in by
carrying out the following procedure:
1. Click Start > Settings > Control Panel, and double-click System.
2. Click the Advanced tab.
3. Click Environment Variables.
4. Click New, type PATH in the Variable Name box.
5. Type or copy/paste the following text in the Variable Value box:
%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem
I did it and it works.