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.

    Problems with "MMM-MyBMW"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 439 Views 2 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.
    • V Offline
      Vauxdvihl
      last edited by

      Hi all,
      i am trying to get “MMM-MYBMW” to work.
      But i think, i forgot to install some additional modules
      The error message looks like

      [2024-06-14 15:46:46.534] [ERROR] bimmer_connected error: Traceback (most recent call last):
        File ".../MagicMirror/modules/MMM-MyBMW/getMyBMWData.py", line 6, in <module>
          from bimmer_connected.account import MyBMWAccount
      ModuleNotFoundError: No module named 'bimmer_connected'
      

      Can please somebody help me?

      Thx a lot

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Vauxdvihl
        last edited by sdetweil

        @Vauxdvihl did you see this in the module doc?

        Requirements
        A working python 3 distribution with pip is required before the installation.

        did you do

        npm install 
        

        per the modile instructions?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S V 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by

          @sdetweil I don’t know how I checked solution and don’t know how to uncheck it

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • V Offline
            Vauxdvihl @sdetweil
            last edited by

            @sdetweil
            Yes i did
            But i did not find anything ni the docs with regards to python

            I installed it again

            warni@raspberrypi:~/MagicMirror/modules/MMM-MyBMW $ npm install
            
            > MMM-MyBMW@1.0.0 preinstall
            > echo 'Installing Python Dependencies...' && pip install -r requirements.txt --no-warn-script-location
            
            Installing Python Dependencies...
            error: externally-managed-environment
            
            × This environment is externally managed
            ╰─> To install Python packages system-wide, try apt install
                python3-xyz, where xyz is the package you are trying to
                install.
                
                If you wish to install a non-Debian-packaged Python package,
                create a virtual environment using python3 -m venv path/to/venv.
                Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                sure you have python3-full installed.
                
                For more information visit http://rptl.io/venv
            
            note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
            hint: See PEP 668 for the detailed specification.
            npm ERR! code 1
            npm ERR! path /.../MagicMirror/modules/MMM-MyBMW
            npm ERR! command failed
            npm ERR! command sh -c echo 'Installing Python Dependencies...' && pip install -r requirements.txt --no-warn-script-location
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /.../.npm/_logs/2024-06-14T14_33_26_887Z-debug-0.log
            ...
            
            I think the installation did not work 
            
            
            
            
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Vauxdvihl
              last edited by sdetweil

              @Vauxdvihl yes, you do mot have python setup like the author assumes

              from the doc

              1000026285.jpg

              and he doesn’t say but requires that you be running under some python virtual environment

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vauxdvihl
                last edited by

                ...@raspberrypi:~ $ python --version
                Python 3.11.2
                
                

                Python is available
                But the installation errors (npm install) remains the same

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Vauxdvihl
                  last edited by

                  @Vauxdvihl yes, the messages say about apt install or venv

                  I think the author needs to fix this. please open an issue on the module github page to engage the author.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • karsten13K karsten13 has marked this topic as unsolved on
                  • 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