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

AttributeError: 'zipimporter' object has no attribute 'find_module'. Did you mean: 'load_module'? #140

Open
studiolxv opened this issue Oct 19, 2024 · 0 comments

Comments

@studiolxv
Copy link

System:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro18,2
  Chip:	Apple M1 Max
  System Version:	macOS 15.0.1 (24A348)
  Python 3.12.4

Installation method:

curl -s http://get.dbsake.net > dbsake
chmod u+x dbsake

After installation running into this issue just testing to see if its installed. I have the dbsake file in my $HOME dir.

added to path

export PATH="${HOME}/dbsake:${PATH}"

first run

% dbsake

Outputs

zsh: command not found: dbsake

second attempt

% ./dbsake

Outputs

/Users/<user>/./dbsake/click/core.py:1219: SyntaxWarning: invalid escape sequence '\s'
/Users/<user>/./dbsake/click/core.py:1219: SyntaxWarning: invalid escape sequence '\s'
/Users/<user>/./dbsake/click/_compat.py:14: SyntaxWarning: invalid escape sequence '\['
/Users/<user>/./dbsake/click/_compat.py:14: SyntaxWarning: invalid escape sequence '\['
/Users/<user>/./dbsake/click/decorators.py:93: SyntaxWarning: invalid escape sequence '\s'
/Users/<user>/./dbsake/click/decorators.py:93: SyntaxWarning: invalid escape sequence '\s'
Uncaught exception! (╯°□°)╯ ︵ ┻━┻
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/<user>/./dbsake/__main__.py", line 22, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/<user>/./dbsake/__main__.py", line 18, in main
    sys.exit(dbsake.cli.main())
             ^^^^^^^^^^^^^^^^^
  File "/Users/<user>/./dbsake/dbsake/cli/__init__.py", line 122, in main
    cmd.discover_commands()
  File "/Users/<user>/./dbsake/dbsake/cli/cmd/__init__.py", line 19, in discover_commands
    loader = importer.find_module(name)
             ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'zipimporter' object has no attribute 'find_module'. Did you mean: 'load_module'?
It's okay. ┬─┬ノ( º_ ºノ)
Consider filing a bug report at https://github.com/abg/dbsake/issues
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

1 participant