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
{{ message }}
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Looks like the top-level import of bblfsh is not visible to the import system and it imports the module twice. The workaround is to comment out that assertion inside protobuf.
Yes, the problem is that import github.com.gogo.protobuf.gogoproto.gogo_pb2 with sweded sys.path and import bblfsh.github.com.gogo.protobuf.gogoproto.gogo_pb2 are different from 3.7's point of view. The solution is to make the internal imports absolute.
Activity
Fix import failure on Python 3.7
Fix import failure on Python 3.7
vmarkovtsev commentedon Aug 9, 2018
Yes, the problem is that
import github.com.gogo.protobuf.gogoproto.gogo_pb2with swededsys.pathandimport bblfsh.github.com.gogo.protobuf.gogoproto.gogo_pb2are different from 3.7's point of view. The solution is to make the internal imports absolute.