MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

ConfigParser vs, Configparser Nightmare!!



  • Hi all,

    Has anyone got any ideas for this issue. Whether I try to install Alexa or AssistantMk2 I get the following error messages during setup…

      File "/usr/bin/pycompile", line 35, in 
        from debpython.version import SUPPORTED, debsorted, vrepr, \
      File "/usr/share/python/debpython/version.py", line 24, in 
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'
    dpkg: error processing package python-pyaudio (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     python-pyaudio
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    

    I have searched all over and the only real comments i noticed was that ConfigParser change to Configparser in Python3 but I havent been able to find a solution anywhere. I hope there is an expert/magician out there that can help me out.
    Regards
    A hopeful desperate soul.



  • @JonoGee Typical. I think i just found a solution…

    the root cause of your apt problems is python-lockfile, try to reinstall it with the following command:

    sudo apt-get clean
    sudo apt-get update
    sudo apt-get install --reinstall python-minimal python-lockfile
    EDIT:


Log in to reply