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

[Bug]: no module named pyutil #89

Open
tfriedel opened this issue May 11, 2024 · 2 comments · May be fixed by #91
Open

[Bug]: no module named pyutil #89

tfriedel opened this issue May 11, 2024 · 2 comments · May be fixed by #91
Labels
bug Something isn't working

Comments

@tfriedel
Copy link

tfriedel commented May 11, 2024

evernote-backup version

1.9.3

What OS are you using?

Linux

OS Version / Linux distribution

Ubuntu 24.04

Bug description

I installed evernote-backup with pipx, but there's a package missing on python 3.12.1:
ModuleNotFoundError: No module named 'pyutil'

Log excerpt

I ran

pipx install evernote-backup  

Then:

❯ evernote-backup init-db
Traceback (most recent call last):
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/oauth2/_version.py", line 13, in <module>
    from pyutil.version_class import Version as pyutil_Version
ModuleNotFoundError: No module named 'pyutil'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/thomas/.local/bin/evernote-backup", line 5, in <module>
    from evernote_backup.cli import main
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/evernote_backup/cli.py", line 11, in <module>
    from evernote_backup import cli_app, config_defaults
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/evernote_backup/cli_app.py", line 7, in <module>
    from evernote_backup.cli_app_auth import get_auth_token, get_sync_client
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/evernote_backup/cli_app_auth.py", line 4, in <module>
    from evernote_backup.cli_app_auth_oauth import evernote_login_oauth
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/evernote_backup/cli_app_auth_oauth.py", line 9, in <module>
    from evernote_backup.evernote_client_oauth import (
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/evernote_backup/evernote_client_oauth.py", line 7, in <module>
    import oauth2
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/oauth2/__init__.py", line 47, in <module>
    from ._version import __version__
  File "/home/thomas/.local/share/pipx/venvs/evernote-backup/lib/python3.12/site-packages/oauth2/_version.py", line 16, in <module>
    from distutils.version import LooseVersion as distutils_Version
ModuleNotFoundError: No module named 'distutils'
@tfriedel tfriedel added the bug Something isn't working label May 11, 2024
@wintersolutions
Copy link

Same error here after upgrading from Python 3.11.8 to 3.12.3 on Manjaro/Arch.

@frostyfab
Copy link

Workaround:

pipx inject evernote-backup pyutil

Frosty greetings!

frostyfab added a commit to frostyfab/evernote-backup that referenced this issue May 21, 2024
@frostyfab frostyfab linked a pull request May 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants