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

"ImportError: cannot import name 'protobuf' from 'lib'" while trying to run Assets/main.py #8

Closed
denliner opened this issue May 27, 2023 · 1 comment

Comments

@denliner
Copy link

Hi,
Sorry to bother you, but I got this error message when I tried to run the asset downloader and extractor:

Traceback (most recent call last):
  File "XXX:\XXX\AzurLaneTools\Assets\main.py", line 5, in <module>
    from lib import config, protobuf, versioncontrol, updater, repair
ImportError: cannot import name 'protobuf' from 'lib' (XXX:\XXX\AzurLaneTools\Assets\lib\__init__.py)

At first I thought that something hadn't gone as planned during dependencies installation so I re-installed all of them + google's 'protobuf' but I still had that error message.
So I decided to check the "Assets/lib" folder and I noticed that there was no "protobuf" file or folder . After some digging I found that there was indeed a 'protobuf' folder but it has been removed after commit e570fcd

I'm wondering if I've missed a step

System:

  • OS: Windows 11
  • Python version: 3.10

Additional context:
None.

@nobbyfix
Copy link
Owner

asset downloader is moved to another repo with full functionality added

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

2 participants