You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
tommasoturchi
changed the title
gRPCAlchemy can't import the generated proto files on Windows
gRPCAlchemy can't import generated proto files on Windows
Apr 30, 2020
Description
gRPCAlchemy can't import generated proto files on Windows, see this error:
ModuleNotFoundError: No module named 'protos\hellomessage_pb2'
I think this is due to https://github.com/GuangTianLi/grpcalchemy/blob/master/grpcalchemy/utils.py#L104 and https://github.com/GuangTianLi/grpcalchemy/blob/master/grpcalchemy/server.py#L119 replacing '/' with '.', since on windows the directory separator is '\', as you can see from the error message.
Hope this helps :-)
The text was updated successfully, but these errors were encountered: