Python 2.7 错误:选项--无法识别重新加载
有人能告诉我是什么导致了这个错误吗?尝试将重新加载移到ini文件后面,如: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
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