追溯(最近一次通话):文件“ D:\ eclipse \ plugins \ org.python.pydev_5.1.2.201606231256 \ pysrc \ runfiles.py”,行241,位于main()文件“ D:\ eclipse \ plugins \ org.python.pydev_5.1.2.201606231256 \ pysrc \ runfiles.py”,行233,在主返回pytest.main(argv)文件“ C:\ Python27 \ lib \ site-packages_pytest \ config.py”,行18,在主配置= _prepareconfig(args,插件)文件“ C:\ Python27 \ lib \ site-packages_pytest \ config.py”,第62行,在_prepareconfig pluginmanager = pluginmanager,args = args)文件“ C:\ Python27 \ lib \呼叫中的site-packages_pytest \ core.py“,第376行返回self._docall(方法,kwargs)文件“ C:\ Python27 \ lib \ site-packages_pytest \ core.py”,行387,在_docall res = mc.execute()文件“ C:\ Python27 \ lib \ site- package_pytest \ core.py,第288行,在执行res = method(** kwargs)文件“ C:\ Python27 \ lib \ site-packages_pytest \ helpconfig.py”,第25行,在pytest_cmdline_parse config =multicall.execute()在执行res = method(** kwargs)中的文件“ C:\ Python27 \ lib \ site-packages_pytest \ core.py”中的第288行,文件“ C:\ Python27 \ lib \ site-packages_pytest \ config”。 py”,第617行,位于pytest_cmdline_parse self.parse(args)文件中,“ C:\ Python27 \ lib \ site-packages_pytest \ config.py”,第710行,位于解析self._preparse(args)文件“ C:\ Python27 \ _preparse self.pluginmanager.consider_preparse(args)文件中的lib \ site-packages_pytest \ config.py“,行686,在考虑_preparse self.consider_pluginarg中,文件” C:\ Python27 \ lib \ site-packages_pytest \ core.py“,行185。 (opt2)在think_pluginarg self.import_plugin(arg)文件中的文件“ C:\ Python27 \ lib \ site-packages_pytest \ core.py”,第195行, 214行,在import_plugin mod = importplugin(modname)文件中,“ C:\ Python27 \ lib \ site-packages_pytest \ core.py”,行269,在importplugin中导入(importspec)文件“ D:\ eclipse \ plugins \ org.python.pydev_5.1.2.201606231256 \ pysrc_pydev_runfiles \ pydev_runfiles_pytest2.py”在@ pytest.hookimpl(hookwrapper = True)中的第284行AttributeError:'模块'对象具有没有属性“ hookimpl”
eclipse设置python_在Eclipse中配置Python项目
最新推荐文章于 2022-07-21 11:37:23 发布