Django错误:在Python/Django项目中执行makemigrations命令时,命令抛出python窗口 [英] Django error: Command throws a python window when executing makemigrations command in a Python/Django project
问题描述
python ´2.7.13´
python ´2.7.13´
Django ´1.9.7´
Django ´1.9.7´
我正在使用"viertualenv"来管理我的项目.
i'm using ´viertualenv´ to manage my project.
我试图运行此命令,并且发生了
i tried to run this command and this happends
(pyproject-1)xxxxx@xxxx.com
python manage.py makemigrations
它会用pyshell打开一个新窗口
and it open a new window with the pyshell
python 2.7.13 (v2.7.13:a06454b1afa1, dec 17 2016, 20:42:59) [MSC v.1500
32 bit<intel> on win 32]
type "help", "copyright", "credits" or "license" for more information.
>>>
使用de migrate或runserver命令仍会打开窗口
Using de ´migrate´ or ´runserver´ command still opens the windows
可能是什么错误?我用谷歌搜索了,但没有找到明确的答案
what could be the error? i googled this and i don't find clear answers
推荐答案
[更新]
我的项目中的错误是一种病毒,该病毒重新标记了所有带有"G"的文件,包括执行的文件:"Gpython.exe""GManage.py"使故障排除成为我的代理,也许是命令.\ manage.py makemigrations
或.\ manage.py migration
仍可与该病毒一起使用.
the error in my project was a virus that reanamed all the files with a "G" including executed files: "Gpython.exe" "GManage.py" making the troubleshooting en my proyect, perhaps, the command .\manage.py makemigrations
or .\manage.py migrate
still worked with the virus.
PD:对不起,我还在学习英语languaje:P
PD:Sorry, i'm still learning english languaje :P
这篇关于Django错误:在Python/Django项目中执行makemigrations命令时,命令抛出python窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!