我是python的新手,我正在尝试使用金字塔框架进行Web项目。我使用pycharm 4.0.4。 在使用pycharm创建一个新的金字塔项目并运行setup.py develop之后,当我尝试运行它时,项目会生成一个ValueError,如下所示:
C:\Users\Ovurevu\vir1\Scripts\python.exe "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pycharm\pycharm_load_entry_point.py" C:\Users\Ovurevu\Desktop\Python Scripts\Pyramid_one\development.ini
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pycharm\pycharm_load_entry_point.py", line 8, in <module>
load_entry_point(dist, "console_scripts", name)()
File "C:\Users\Ovurevu\vir1\lib\site-packages\pyramid\scripts\pserve.py", line 58, in main
return command.run()
File "C:\Users\Ovurevu\vir1\lib\site-packages\pyramid\scripts\pserve.py", line 257, in run
vars = self.get_options()
File "C:\Users\Ovurevu\vir1\lib\site-packages\pyramid\scripts\pserve.py", line 197, in get_options
return parse_vars(restvars)
File "C:\Users\Ovurevu\vir1\lib\site-packages\pyramid\scripts\common.py", line 15, in parse_vars
% arg)
ValueError: Variable assignment 'Scripts\\Pyramid_one\\development.ini' invalid (no "=")
我花了很多时间尝试调试此问题。 我做错了什么?