Menu

Trying to install on Linux Mint

2025-02-22
2025-02-24
  • Stephen Yale

    Stephen Yale - 2025-02-22

    I have downgraded from Python 3.10 to 3.9.21 as per an article but getting the same error. Can someone point me in the right direction?

    EasyABC$ python3 easy_abc.py
    Traceback (most recent call last):
    File "/home/syale/EasyABC/easy_abc.py", line 109, in <module>
    from xml2abc_interface import xml_to_abc, abc_to_xml
    File "/home/syale/EasyABC/xml2abc_interface.py", line 5, in <module>
    import abc2xml
    File "/home/syale/EasyABC/abc2xml.py", line 17, in <module>
    from pyparsing import Word, OneOrMore, Optional, Literal, NotAny, MatchFirst
    File "/home/syale/EasyABC/pyparsing.py", line 943, in <module>
    collections.MutableMapping.register(ParseResults)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'collections' has no attribute 'MutableMapping'</module></module></module></module>

     
  • Dave Royal

    Dave Royal - 2025-02-24

    I don't use Mint (or Ubuntu) but downgrading Python below the Linux system version could be unpredictable unless you use a virtual environment.

    Anyway, unless you want to run an old version of EasyABC I would download a new snapshot of it from github - the big green button here:
    https://github.com/jwdj/EasyABC
    That has been updated for Python 3.13
    (I think that's self-consistent after the very recent bunch of commits.)

    I know that someone currently commenting there is running a recent snapshot of that code on Mint 22, though I don't know what Python version. I'm running it with Python 3.13.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.