Python/Django shell won't start

前端 未结 2 516
清歌不尽
清歌不尽 2021-01-18 05:55

One of the great features of Django is that you can open a python interpreter set-up for use with your project. This can be used to analyse objects in a database and allows

2条回答
  •  轮回少年
    2021-01-18 06:15

    It seems like IPython is installed wrongly somehow. Try starting the shell with:

    ./manage.py shell --plain
    

    to start the standard Python shell, rather than IPython. If that works, then trying removing IPython completely and reinstalling it.

提交回复
热议问题