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

Ошибка ImportError: cannot import name 'QiwiDatetime' from partially initialized module 'pyqiwip2p.p2p_types' #37

Closed
JustLike420 opened this issue Jul 28, 2022 · 1 comment

Comments

@JustLike420
Copy link

ImportError: cannot import name 'QiwiDatetime' from partially initialized module 'pyqiwip2p.p2p_types' (most likely due to a circular import) (C:\Users\Vladimir\AppData\Local\Programs\Python\Python38\lib\site-packages\pyqiwip2p\p2p_types_init_.py)

Решил путем изменение файла p2p_types_init_.py
на это.
from pyqiwip2p.p2p_types.qiwi_datetime import *
from pyqiwip2p.p2p_types.custom_fields import *
from pyqiwip2p.p2p_types.customer import *
from pyqiwip2p.p2p_types.errors import *
from pyqiwip2p.p2p_types.responses import *

@WhiteApfel
Copy link
Owner

исправлено в v2.0.5

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

No branches or pull requests

2 participants