![import msvcrt python import msvcrt python](https://aws1.discourse-cdn.com/business6/uploads/dynamobim/original/3X/8/6/86906c424b823f78ed7d9b2dbdbdfe5957a7333f.png)
Had the same problem but was able to fix this by rewriting the win_getpass method in getpass.py:ĭef win_getpass(prompt='Password: ', stream=None): You're right, we should be able to remove the ifdef for these (or hide them behind MS_WINDOWS if necessary). NT-based Windows would always support wide-character console I/O. I guess this check was added to support DOS-based Windows 9x. Thus the _WCONIO_DEFINED macro is no longer defined, and consequently PC/msvcrtmodule.c skips defining getwch, getwche, putwch, and ungetwch. The new CRT used by 3.5 has a separate header, corecrt_wconio.h, for declarations shared by conio.h and wchar.h. David Murray (r.david.murray) *Ĭan you reproduce this without involving Django? That would make it more likely that someone will have time to take a look at it.
![import msvcrt python import msvcrt python](https://images2018.cnblogs.com/blog/986259/201711/986259-20171129140831581-1373706197.png)
#IMPORT MSVCRT PYTHON WINDOWS 8.1#
Downgrading fixed the issueĮdit: I am using a windows 8.1 system and django 1.8Īuthor: R.
![import msvcrt python import msvcrt python](https://www.ptvgroup.com/fileadmin/user_upload/Products/PTV_xServer/Pictures/Developer_Guide/Screenshots/PyRequests.png)
Reproducible with 3.5a3, seems to be a regression from 3.4.3. It crashes after inputting email (or before asking for the password) Call manage.py syncdb and try to create a new superuserĢ. Python cannot access msvcrt's putwch() when using manage.py syncdbġ. BreamoreBoy, Kain, eryksun, petrikas, python-dev, r.david.murray, steve.dower, tim.golden, zach.wareĬreated on 18:45 by petrikas, last changed 23:05 by eryksun.