mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-27 16:35:59 +03:00
[GH-ISSUE #641] No module named 'zoneinfo' #370
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#370
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gywndi on GitHub (Mar 17, 2024).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/641
Hi
I'm installing webvirtcloud to manage kvm with manual on README.
But I've got in problem relative with "zoneinfo". (My box is running with Ubuntu 20.04.6 LTS)
I changed python3 version from 3.8 to 3.11, but not working.
@jbguo424 commented on GitHub (May 7, 2024):
vi /srv/webvirtcloud/venv/lib/python3.8/site-packages/qr_code/qrcode/utils.py
"""Utility classes and functions for configuring and setting up the content and the look of a QR code."""
import datetime
import decimal
from collections import namedtuple
from dataclasses import asdict
from datetime import date
from decimal import Decimal
from enum import Enum
from typing import Optional, Any, Union, Sequence, List, Tuple
#import zoneinfo
from backports.zoneinfo import ZoneInfo as zoneinfo
I fixed it using this