Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'gogoproto' when using pyinstaller #399

Open
2 tasks done
henzycuong1 opened this issue Jul 30, 2024 · 1 comment
Open
2 tasks done

No module named 'gogoproto' when using pyinstaller #399

henzycuong1 opened this issue Jul 30, 2024 · 1 comment
Assignees

Comments

@henzycuong1
Copy link

Prerequisites

  • I checked the documentation and found no answer to my problem
  • I checked the existing issues and made sure there are no similar bug reports

Category

Other

Expected Behavior

No response

Observed Behavior

I used pyinstaller to generate the exe file but when I run the file it gives me an error "No module named 'gogoproto' " while I can still run it on my source code.

Traceback (most recent call last):
  File "swap.py", line 9, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "cosmpy\aerial\client\__init__.py", line 34, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "cosmpy\aerial\client\bank.py", line 23, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "cosmpy\protos\cosmos\bank\v1beta1\tx_pb2.py", line 15, in <module>
ModuleNotFoundError: No module named 'gogoproto'
[15000] Failed to execute script 'swap' due to unhandled exception!

To Reproduce

No response

Version

0.5.0

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

@kshipra-fetch
Copy link
Collaborator

Hi @henzycuong1

Thank you for reporting this issue.
@pbukva Could you please take a look at this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants