python manage.py runserver,shell,dbshel​​l冻结在git

编程入门 行业动态 更新时间:2024-10-28 08:25:45
本文介绍了python manage.py runserver,shell,dbshel​​l冻结在git-bash上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在Windows中的python virtualenv中运行交互式shell,在git-bash上运行,但是没有运行。奇怪的是,它似乎没有做任何事情,只是光标在下一行闪烁,没有输出。

I'm trying to run the interactive shell in python virtualenv in windows, on git-bash, but it isn't running. Strange thing is, it doesn't seem to do anything, just the cursor is blinking on the next line, giving no output.

$ python manage.py shell |

但是,我可以运行命令,如 - migrate,makemigrations,sqlmigrate。命令 - shell,dbshel​​l,runserver发生问题。

However, I'm able to run commands like - migrate, makemigrations, sqlmigrate. Problem is occurring with the commands - shell, dbshell, runserver.

这似乎是一些git-bash相关的问题,因为我可以从命令行运行shell。我正在使用 Windows上的PortableGit-2.4.3.1-2nd-release-candidate-64-bit.7z.exe 。

This seems to be some git-bash related issue, because I'm able to run shell from command line. I'm using PortableGit-2.4.3.1-2nd-release-candidate-64-bit.7z.exe on windows.

推荐答案

在评论中总结调查...

Summarising the investigation in the comments...

调查这些问题是使用 pystuck 。

在这种情况下,似乎对IPython有某种内部的依赖性,因为安装pystuck也会安装IPython,并且该错误不再再次安装。

In this case, it would appear to have been some sort of internal dependency on IPython as installing pystuck also installs IPython and the bug no longer reproduces with Both installed.

更多推荐

python manage.py runserver,shell,dbshel​​l冻结在git

本文发布于:2023-10-28 00:33:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1534980.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:py   manage   python   runserver   git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!