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

cannot import name 'UTC' from 'datetime' (/usr/lib/python3.10/datetime.py) #50

Closed
Orgoth opened this issue Oct 30, 2024 · 2 comments · Fixed by #51
Closed

cannot import name 'UTC' from 'datetime' (/usr/lib/python3.10/datetime.py) #50

Orgoth opened this issue Oct 30, 2024 · 2 comments · Fixed by #51

Comments

@Orgoth
Copy link

Orgoth commented Oct 30, 2024

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/isley/tmp/lenny/./pyinnodb.sh/main.py", line 2, in
File "/home/isley/tmp/lenny/./pyinnodb.sh/pyinnodb/cli/init.py", line 2, in
File "/home/isley/tmp/lenny/./pyinnodb.sh/pyinnodb/cli/iter_record.py", line 7, in
File "/home/isley/tmp/lenny/./pyinnodb.sh/pyinnodb/sdi/table.py", line 21, in
File "/home/isley/tmp/lenny/./pyinnodb.sh/pyinnodb/disk_struct/data.py", line 2, in
ImportError: cannot import name 'UTC' from 'datetime' (/usr/lib/python3.10/datetime.py)

@WinChua WinChua linked a pull request Nov 5, 2024 that will close this issue
@WinChua
Copy link
Owner

WinChua commented Nov 5, 2024

thanks for your feedback, it's fix now. can you download the latest version of pyinnodb.sh and try again
@Orgoth

@Orgoth
Copy link
Author

Orgoth commented Nov 5, 2024

thanks for your feedback, it's fix now. can you download the latest version of pyinnodb.sh and try again @Orgoth

@WinChua Thank you very much, it is working now.

Have a nice day.

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

Successfully merging a pull request may close this issue.

2 participants