我遵循(https://github.com/hyde/hyde)并使用命令"hyde-s requirements.txt 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 IterableUserDict“,比如”Python3x“has (http://docs.python.org/3.3/library/collections.html?highlight=userdict#collections.UserDict)。
https://stackoverflow.com/questions/15313529
复制相似问题