old-djangae-scaffold
old-djangae-scaffold copied to clipboard
ImportError: No module named msvcrt
This is a bug that may not be relevant, but I am getting ImportError: No module named msvcrt
when running djangae scaffold locally on Windows 10.
I've found this url that seems related, but their solution seems hacky. Maybe someone else has a suggestion of how this is run on Windows? Something that could be added to the docs?
This is still a problem (Windows 10) however having run through the instructions I don't have an appengine_config.py file. I don't know whether something failed during the setup or whether this file is no longer used. Anyway, that means the hack workaround that @normmcgarry mentions won't work.
Looks like this is a Django issue: it expects msvcrt
to be present if os.name == 'nt'
is true. (Edit: here)
Using the workaround, how do things like os.path.join behave? I.e. can you still use open
on the paths it produces?