0
点赞
收藏
分享

微信扫一扫

django shell 使用ipython

​​https://stackoverflow.com/questions/14616805/why-wont-django-use-ipython​​

注意:如果使用了虚拟环境,那么需要也需要在虚拟环境中安装ipython

可以使用如下语句测试虚拟环境中是否安装ipython

python manage.py shell -i ipython

如果没有安装则报如下错误:
​​​CommandError: Couldn't import ipython interface.​

懂得,原来世界如此简单!



举报

相关推荐

0 条评论