Skip to content

No module named 'docker.models' #288

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

Closed
asosnovsky-sumologic opened this issue Apr 12, 2024 · 2 comments
Closed

No module named 'docker.models' #288

asosnovsky-sumologic opened this issue Apr 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@asosnovsky-sumologic
Copy link

Since yesterday's update we are now getting this issue:

2024-04-12 16:15:07.446 [error]   File "/home/vscode/.local/lib/python3.12/site-packages/pytest_docker_tools/utils.py", line 10, in <module>
    from docker.models.containers import Container

2024-04-12 16:15:07.447 [error] ModuleNotFoundError: No module named 'docker.models'

It seems to me that you should pin yourself to docker==6.1.3

@asosnovsky-sumologic asosnovsky-sumologic added the bug Something isn't working label Apr 12, 2024
@asosnovsky-sumologic
Copy link
Author

we had a folder at the root level called "docker" 🤦

@Nusnus
Copy link
Member

Nusnus commented Apr 12, 2024

we had a folder at the root level called "docker" 🤦

😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants