I don't think this is just Windows. I received exactly the same error today (2/16) on MacOS. I will log an issue in github.
David On Wednesday, 18 January 2017 10:23:03 UTC-5, tony tam wrote: > > Thanks—can you please make sure an issue is filed so we can ensure it’s > tracked? > > https://github.com/swagger-api/swagger-codegen > > On Jan 17, 2017, at 9:55 PM, James <[email protected] <javascript:>> wrote: > > Hey, > > The swagger editor <http://editor.swagger.io/#/> seems to have updated > its server codegen tool over the weekend (at least for Python) and I can't > run the generated servers on windows anymore. I think a linux environment > is assumed now. I keep getting the following error: > > python-flask-server\swagger_server\models\base_model_.py, line 2, in > <module> from typing import TypeVar, Type > ImportError: cannot import name 'Type' > > I was attempting to run the default "uber" spec after pip installing the > requirements.txt and running __main__.py with "python -m swagger_server" as > per the readme. > > Any ideas for windows users? > > -- > You received this message because you are subscribed to the Google Groups > "Swagger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
