昨天安装Google Drive (云端硬盘) 的 Backup and Sync from Google(同部与备份程式)
安装完毕后执行 会出现
Traceback(most recent call last):File"<string>",line
42,in<module>File"T:\src\piper\googleclient\third_party\py\pyinstaller\iu.py",line
478,in
importHookFile"T:\src\piper\googleclient\third_party\py\pyinstaller\iu.py",line
522,in
doimportFile"T:\src\piper\googleclient\apps\webdrive_sync\windows\build\pyi.win32\main\outPYZ1.pyz/windows.restart_app",line
35,in<module>File"T:\src\piper\googleclient\apps\webdrive_sync\windows\build\pyi.win32\main\outPYZ1.pyz/tempfile",line
269,in
gettempdirFile"T:\src\piper\googleclient\apps\webdrive_sync\windows\build\pyi.win32\main\outPYZ1.pyz/tempfile",line
212,in_get_default_tempdirIOError:[Errno 2] No usable temporary directory
found in
['c:\\Users\\\za8K\zb5X\\AppData\\Local\\Temp','c:\\Users\\\za8K\zb5X\\AppData\\Local\\Temp','c:\\temp','c:\\tmp','\\temp','\\tep','c:\\Windows\\system3
一开始是看到这篇解法有成功
https://goo.gl/8kCSFH
It seems this issue occurs on some users and there is possible workaround (on
command line):
(1) to create and link a virtual temp folder by using this command