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

it's not working #278

Open
vcbat opened this issue Dec 13, 2024 · 5 comments
Open

it's not working #278

vcbat opened this issue Dec 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@vcbat
Copy link

vcbat commented Dec 13, 2024

while deploying error module not found "pytz" any solution

@vcbat vcbat added the bug Something isn't working label Dec 13, 2024
@REALXLOLX
Copy link

while deploying error module not found "pytz" any solution

pip install pytz

@vcbat
Copy link
Author

vcbat commented Dec 21, 2024

not working brh

@REALXLOLX
Copy link

not working brh

Send screenshot or full logs

@JohnCale47
Copy link

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/src/app/bot/__init__.py", line 3, in <module>
    from pytz import timezone
ModuleNotFoundError: No module named 'pytz'
root@instance-20220531-2245:/home/ubuntu/mirror/WZML-X# pip install pytz
Collecting pytz
  Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
     |████████████████████████████████| 508 kB 2.1 MB/s
Installing collected packages: pytz
Successfully installed pytz-2024.2
root@instance-20220531-2245:/home/ubuntu/mirror/WZML-X# sudo docker run -p 80:80 -p 8080:8080 wzmlx
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/src/app/bot/__init__.py", line 3, in <module>
    from pytz import timezone
ModuleNotFoundError: No module named 'pytz'

@REALXLOLX
Copy link

REALXLOLX commented Jan 9, 2025

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/src/app/bot/__init__.py", line 3, in <module>
    from pytz import timezone
ModuleNotFoundError: No module named 'pytz'
root@instance-20220531-2245:/home/ubuntu/mirror/WZML-X# pip install pytz
Collecting pytz
  Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
     |████████████████████████████████| 508 kB 2.1 MB/s
Installing collected packages: pytz
Successfully installed pytz-2024.2
root@instance-20220531-2245:/home/ubuntu/mirror/WZML-X# sudo docker run -p 80:80 -p 8080:8080 wzmlx
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/src/app/bot/__init__.py", line 3, in <module>
    from pytz import timezone
ModuleNotFoundError: No module named 'pytz'

Use python virtual environments if you don't know Contact me in
@Losting007 telegram

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

No branches or pull requests

3 participants