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
❯ python test.py
-- cosm_account
-- evm_account
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/mospy/Account.py", line 61, in __init__
self.keys_pb2 = importlib.import_module(
File "/opt/homebrew/Cellar/[email protected]/3.10.13/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/homebrew/lib/python3.10/site-packages/evmos_protobuf/cosmos/crypto/secp256k1/keys_pb2.py", line 7, in <module>
from ....gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
File "/opt/homebrew/lib/python3.10/site-packages/evmos_protobuf/gogoproto/gogo_pb2.py", line 8, in <module>
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a ... \x01(\tBH\n\x13com.google.protobufB\nGoGoProtosZ%github.com/cosmos/gogoproto/gogoproto')
TypeError: Couldn't build proto file into descriptor pool: duplicate file name gogoproto/gogo.proto
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/sdjeong/Documents/Works/pyCosmos/test.py", line 39, in <module>
evm_account = Account(
File "/opt/homebrew/lib/python3.10/site-packages/mospy/Account.py", line 68, in __init__
raise ImportError(
ImportError: Couldn't import from evmos_protobuf. Is the package installed?
-- next
What's the problem?
Is there a workaround?
The text was updated successfully, but these errors were encountered:
Python 3.10.13
mospy-wallet 0.4.2
I want to use cosmos and evmos at the same time.
However, I got an error like the below.
What's the problem?
Is there a workaround?
The text was updated successfully, but these errors were encountered: