MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    ConfigParser vs, Configparser Nightmare!!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 1 Posters 787 Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy