Ошибка импорта Pytest с Pylenium в виртуальной среде PoetryPython

Программы на Python
Anonymous
 Ошибка импорта Pytest с Pylenium в виртуальной среде Poetry

Сообщение Anonymous »

при попытке запустить Pytest в виртуальной среде с поэзией я сталкиваюсь со следующей ошибкой с Pylenium, кто-нибудь знает, что это значит?

Код: Выделить всё

\`
Test\> pytest
ImportError while loading conftest 'conftest.py'.

conftest.py:32: in \
from pylenium.a11y import PyleniumAxe
......\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pylenium\__init_\_.py:1: in \
from .pylenium import \*
......\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pylenium\\pylenium.py:15: in \
from . import conditions
......\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pylenium\\conditions.py:65: in \
class title_is (Condition, ec.title_is):
E   TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

\`
Я уже пробовал создать новую виртуальную среду, используя более старую версию Pylenium. Есть идеи?

Подробнее здесь: https://stackoverflow.com/questions/768 ... irtual-env

Вернуться в «Python»