You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run by "pytest tests", the program reports like this:
ImportError while loading conftest 'prefect\tests\conftest.py'. tests\conftest.py:78: in <module> from .fixtures.docker import * tests\fixtures\docker.py:20: in <module> from docker import DockerClient E ImportError: cannot import name 'DockerClient' from 'docker' (Anaconda\Lib\site-packages\docker\__init__.py)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I try to run by "pytest tests", the program reports like this:
ImportError while loading conftest 'prefect\tests\conftest.py'.
tests\conftest.py:78: in <module>
from .fixtures.docker import *
tests\fixtures\docker.py:20: in <module>
from docker import DockerClient
E ImportError: cannot import name 'DockerClient' from 'docker' (Anaconda\Lib\site-packages\docker\__init__.py)
I don't know how to solve it.
Beta Was this translation helpful? Give feedback.
All reactions