C2N14 / C2N14/AutomaThemely

ModuleNotFoundError: No module named 'pytz'

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
200
Forks
30
PR merge metrics
No merged PRs in 30d

Description

```
[localhost@localhost-PC ~]$ automathemely --manage
Traceback (most recent call last):
File "/usr/bin/automathemely", line 33, in
sys.exit(load_entry_point('AutomaThemely==1.3', 'console_scripts', 'automathemely')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/automathemely", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/automathemely/bin/run.py", line 11, in
import pytz
ModuleNotFoundError: No module named 'pytz'
```
``` .%;888:8898898: root@localhost-PC
x;XxXB%89b8:b8%b88: -----------------
.8Xxd 8X:. OS: Garuda Linux x86_64
.8Xx; 8x:. Host: B550M DS3H -CF
.tt8x .d x88; Kernel: 6.7.0-rc3-1-mainline
.@8x8; .db: xx@; Uptime: 1 day, 2 hours, 3 mins
,tSXX° .bbbbbbbbbbbbbbbbbbbB8x@; Packages: 1523 (pacman)[stable]
.SXxx bBBBBBBBBBBBBBBBBBBBbSBX8; Shell: fish 3.6.1
,888S pd! Resolution: 2560x1080
8X88/ q DE: KDE Plasma 5.27.9
8X88/ WM: KWin (X11)
GBB. WM Theme: Sweet-Dark
x%88 d888@8@X@X@X88X@@XX@@X@8@X. Theme: Breeze (Light) [QT], Vapor [GTK2], Sweet-Dark [GTK3/}
dxXd dB8b8b8B8B08bB88b998888b88x. Icons: Breeze [QT], BeautyLine [GTK3/4]
dxx8o .@@;. Terminal: konsole 23.08.2
dx88 .t@x. Terminal Font: FiraCode Nerd Font Mono 12
d:SS@8ba89aa67a853Sxxad. CPU: AMD Ryzen 9 3900X (24) @ 4.71 GHz
.d988999889889899dd. GPU: AMD Radeon RX 6700 XT
Memory: 15.20 GiB / 31.25 GiB
```
```
╭─root@localhost in ~ as 🧙
╰─λ python
Python 3.11.5 (main, Sep 2 2023, 14:16:33) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `automathemely --manage` under Python 3.11 and inspect the `/usr/lib/python3.11/site-packages/automathemely/bin/run.py` entry point shown in the traceback. Trace how the application declares or installs its dependencies, then verify that the command starts without `ModuleNotFoundError: No module named 'pytz'`.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.