Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 错误:选项--无法识别重新加载_Python 2.7_Pyramid - Fatal编程技术网

Python 2.7 错误:选项--无法识别重新加载

Python 2.7 错误:选项--无法识别重新加载,python-2.7,pyramid,Python 2.7,Pyramid,有人能告诉我是什么导致了这个错误吗?尝试将重新加载移到ini文件后面,如: ubuntu@ubuntu:~/workspace/abc$ pserve --reload development.ini Starting subprocess with file monitor at start of server usage: pserve [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: pserve --help [c

有人能告诉我是什么导致了这个错误吗?

尝试将重新加载移到ini文件后面,如:

ubuntu@ubuntu:~/workspace/abc$ pserve --reload development.ini 
Starting subprocess with file monitor
at start of server
usage: pserve [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: pserve --help [cmd1 cmd2 ...]
   or: pserve --help-commands
   or: pserve cmd --help

error: option --reload not recognized
可能作为第一个参数,它需要金字塔配置文件

../bin/pserve development.ini --reload