MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED ConfigParser vs, Configparser Nightmare!!

    Troubleshooting
    1
    2
    370
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JonoGee last edited by

      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 <module>
          from debpython.version import SUPPORTED, debsorted, vrepr, \
        File "/usr/share/python/debpython/version.py", line 24, in <module>
          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.

      J 1 Reply Last reply Reply Quote 0
      • J
        JonoGee @JonoGee last edited by

        @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:

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy