win7的dropbox无法启动 重新安装也没用

dropbox无法启动纠结了我两个多礼拜呢~

重新安装有时候 就安装一半就失败

有时候安装成功仅仅只能用一次 第二天用就不能启动

dropbox安装目录有一个Dropbox.exe.log文件 打开 里边提示错误:

Traceback (most recent call last):
File "dropbox.py", line 71, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "arch\__init__.pyc", line 5, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "arch\win32\constants.pyc", line 5, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "arch\win32\internal.pyc", line 26, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "comtypes\client\__init__.pyc", line 22, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "comtypes\client\_generate.pyc", line 18, in <module>
File "os.pyc", line 433, in __getitem__
KeyError: 'PATH'

解决办法:

用鼠标右击“我的电脑”->属性->高级->环境变量-->path 设置成 "%SYSTEMROOT%\ SYSTEM32 \ WBEM"  这就OK了


今天才注意到安装目录的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.

疑问:不知道为什么path为空呢?


**********************注意********************
按照上述方法做了之后
桌面上的dropbox图标
安装目录的dropbox
根目录图标拖到任务栏上
开始里边
上述的dropbox都可以启动 
==========================
360软件助手里边不能启动~

原文地址:https://www.cnblogs.com/0banana0/p/2414334.html