WhiteApfel / pyQiwiP2P

Simple wrapper for comfortable work with the API of payment system for individuals QiwiP2P
Mozilla Public License 2.0
55 stars 12 forks source link

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

Closed JustLike420 closed 2 years ago

JustLike420 commented 2 years ago

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 commented 2 years ago

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