There was a similar problem with Flask / click some times back: 
https://github.com/pallets/click/issues/594

The root of the issue is that some modules (like requests, click, etc) have 
an "if Windows do this else do that" logic. Now AppEngine is most 
definitely Linux in production, however the development server does not 
emulate this properly and the "if Windows" kind of logic gets tripped up 
(ie. "this is Windows but I can't import the Windows specific modules 
because the devserver prevents me from doing so since they are not 
available in production").

IMHO the devserver should be fixed such that it reports "Linux" as the 
current platform.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2223bfa5-56bc-4428-8af4-74956c5b2dcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to