hyde和python3.x错误

2024-09-28 21:31:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我跟随(https://github.com/hyde/hyde)并安装了所有要求.txt使用命令“hyde-s folder_name create-l starter”时发生错误:

Traceback (most recent call last):
   File "C: \ Python33 \ Scripts \ hyde-script.py", line 9, in <module>
     load_entry_point ('== 0.8.4 hyde', 'console_scripts', 'hyde') ()
   File "C: \ Python33 \ lib \ site-packages \ hyde \ main.py", line 10, in main
     Engine (.) Run ()
   File "C: \ Python33 \ lib \ site-packages \ hyde \ engine.py", line 39, in run
     super (Engine, self). run (args)
   File "C: \ Python33 \ lib \ site-packages \ command \ application.py", line 252, in run
     self.parse args = (sys.argv [1:])
   File "C: \ Python33 \ lib \ site-packages \ command \ application.py", line 242, in parse
     self.__parser__.parse_args return () # pylint: disable-msg = E1101
AttributeError: 'Engine' object has no attribute '__parser__'

我看到安装的argparse有一个“parse_args()(http://argparse.googlecode.com/svn/trunk/doc/parse_args.html)”试图适应更多,但没有成功。在

在我不得不做一些调整之前,示例“from UserDict import iterablueserdict”就像“python3x”has(http://docs.python.org/3.3/library/collections.html?highlight=userdict#collections.UserDict)一样。在


Tags: runinpyselfcomparselibpackages