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' #10

Closed
velle opened this issue May 25, 2023 · 2 comments
Closed

Comments

@velle
Copy link

velle commented May 25, 2023

I'm running Python 3.10.6 on Ubuntu, and trying out barely_json for the first time. I just installed barely_json-0.1.1 with pip. Importing barely_json gives the following error:

Traceback (most recent call last):
  File "/home/velle/a/parkscraper/cmdGetJsonToQueue.py", line 1, in <module>
    import barely_json
  File "/home/jdoe/.virtualenvs/testenv/lib/python3.10/site-packages/barely_json/__init__.py", line 15, in <module>
    from pyparsing import *
  File "/home/jdoe/.virtualenvs/testenv/lib/python3.10/site-packages/pyparsing.py", line 943, in <module>
    collections.MutableMapping.register(ParseResults)
AttributeError: module 'collections' has no attribute 'MutableMapping'
@torfsen
Copy link
Owner

torfsen commented Jul 29, 2023

Fixed by #11.

@torfsen
Copy link
Owner

torfsen commented Jul 29, 2023

Released in 1.0.0.

@torfsen torfsen closed this as completed Jul 29, 2023
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

2 participants