当我从Eclipse(Oxygen)运行GAE dev_appserver.py
时,会抛出异常 。当我从cmd行运行dev_appserver.py
(不以管理员身份运行)时,未抛出异常 。
The GAE exception thrown:
File "C:\Users\c\.p2\pool\plugins\org.python.pydev.core_7.2.1.201904261721\pysrc\_pydevd_bundle\pydevd_net_command_factory_xml.py", line 197, in make_thread_stack_str
File "C:\Users\c\.p2\pool\plugins\org.python.pydev.core_7.2.1.201904261721\pysrc\_pydevd_bundle\pydevd_net_command_factory_xml.py", line 170, in _iter_visible_frames_info
File "C:\Users\c\.p2\pool\plugins\org.python.pydev.core_7.2.1.201904261721\pysrc\pydevd_file_utils.py", line 489, in _original_file_to_client
File "C:\Users\c\.p2\pool\plugins\org.python.pydev.core_7.2.1.201904261721\pysrc\pydevd_file_utils.py", line 196, in _get_path_with_real_case
File "C:\Users\c\.p2\pool\plugins\org.python.pydev.core_7.2.1.201904261721\pysrc\pydevd_file_utils.py", line 159, in _resolve_listing
File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\python\runtime\stubs.py", line 309, in __call__
raise self._error_class(errno.EACCES, 'path not accessible', path)
OSError: [Errno 13] path not accessible: 'C:\\Program Files (x86)'
Eclipse确实在旧版本的GAE上运行,但没有在GoogleAppEngine-1.9.85
上运行
dev_appserver.py
在CMD行和Visual Code中运行时都没有出现此错误。
这是那些讨厌的配置错误之一。也许没有人遇到过这种确切的情况,但是任何人都可以就如何尝试提供任何建议?