- Traceback (most recent call last):
- File "C:\Program Files\python\lib\site-packages\win32\lib\win32serviceutil.py", line 30, in LocatePythonServiceExe
- "Software\\Python\\%s\\%s" % (baseName, sys.winver))
- pywintypes.error: (2, 'RegQueryValue', '系统找不到指定的文件。')
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Program Files\python\lib\site-packages\win32\lib\win32serviceutil.py", line 44, in LocatePythonServiceExe
- return win32api.SearchPath(None, exeName)[0]
- pywintypes.error: (2, 'SearchPath', '系统找不到指定的文件。')
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "install_soft.py", line 36, in <module>
- module.install_soft(downurl)
- File "C:\BtSoft\panel\install\panel_memcached.py", line 41, in install_soft
- rRet = public.create_server(self._name,self._name,self._setup_path + '\\memcached\\memcached_server.exe','',"Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载")
- File "class\public.py", line 1142, in public.create_server
- File "C:\Program Files\python\lib\site-packages\win32\lib\win32serviceutil.py", line 154, in InstallService
- exeName = '"%s"' % LocatePythonServiceExe(exeName) # None here means use default PythonService.exe
- File "C:\Program Files\python\lib\site-packages\win32\lib\win32serviceutil.py", line 47, in LocatePythonServiceExe
- raise error(msg)
- RuntimeError: C:\BtSoft\memcached\memcached_server.exe is not correctly registered
- Please locate and run C:\BtSoft\memcached\memcached_server.exe, and it will self-register
- Then run this service registration process again.
复制代码 |