1

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

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 )”尝试适应更多但未成功。

在我不得不做一些调整之前,例如“从 UserDict 导入 IterableUserDict”,如“python 3x”中有(http://docs.python.org/3.3/library/collections.html?highlight=userdict#collections.UserDict)。

4

1 回答 1

1

我测试了两个静态站点生成器,我可以说NikolaPelican在 Python 3.3.2 中使用是最稳定的

于 2013-09-05T01:59:22.123 回答