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

AttributeError: module 'collections' has no attribute 'MutableMapping' #88

Open
kkruse-rax opened this issue Nov 18, 2022 · 1 comment

Comments

@kkruse-rax
Copy link

Hi,

Just wanted to open an issue to see about an update here for python 3.10. This error occurs because collections moved MutableMapping in python 3.10.

Seems a workaround until then may be have the following before importing cloudstorage, but not ideal long term:

import collections 
if sys.version_info.major == 3 and sys.version_info.minor >= 10:
    from collections.abc import MutableMapping
else:
    from collections import MutableMapping
@kkruse-rax
Copy link
Author

I think it probably due to the rackspace driver I was attempting to use

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

1 participant