• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 632 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 Jun 22, 2019, 1:21 PM

    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 Jun 22, 2019, 1:35 PM Reply Quote 0
    • J Offline
      JonoGee @JonoGee
      last edited by Jun 22, 2019, 1:35 PM

      @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
      1 / 1
      • First post
        1/2
        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