Navigation

    MagicMirror Forum

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

    A number of them rlly...

    Troubleshooting
    3
    16
    46
    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.
    • M
      Mahieedaboss last edited by

      SO,
      I am a relatively new programmer. I am on a mac mini. I am doing a manual installation. My first problem was with the Magic Mirror section. So far I have
      Download the stable version of Node.js: https://nodejs.org/en/

      Clone the latest MagicMirror code from: https://github.com/MichMich/MagicMirror

      Navigate inside the MagicMirror folder

      cd MagicMirror
      Install MagicMirror dependencies

      sudo npm install

      On the youtube walkthrough, the next step is npm start and when he does it, some text starts up on electron. For me, I start up Electron but all I see is my cursor and a black background. The command says verify it starts so have I done something wrong or not??

      Secondly, I do the following:
      Verify it starts

      npm start
      Navigate out of the MagicMirror folder

      cd …
      Clone this repository (AI Smart Mirror)

      git clone git@github.com:HackerHouseYT/AI-Smart-Mirror.git
      Copy the folders in AI-Smart-Mirror/magic_mirror to MagicMirror/modules

      Copy the config.js file in AI-Smart-Mirror/magic_mirror to MagicMirror/config

      AI
      Make sure Ruby is installed: https://www.ruby-lang.org/en/documentation/installation/

      Install Homebrew: http://brew.sh/

      Navigate to the AI-Smart-Mirror folder

      cd AI-Smart-Mirror
      Install ffmpeg

      brew install ffmpeg

      I have been successful up to here but then the next instruction is:
      Use setup.sh to create a virtual environment and install dependencies

      sudo ./setup.sh

      When I enter this, the following text appears
      Password:
      ./setup.sh: line 3: pip: command not found
      ./setup.sh: line 4: virtualenv: command not found
      ./setup.sh: line 5: ./hhsmartmirror/bin/activate: No such file or directory
      ./setup.sh: line 6: pip: command not found
      ./setup.sh: line 7: pip: command not found

      What do I do?

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

        @Mahieedaboss for MagicMirror use my script…
        see instructions here
        https://github.com/sdetweil/MagicMirror_scripts

        it works on mac too

        throw away the current magic mirror folder first…

        the other stuff, can’t help looks likes it old

        S 1 Reply Last reply Reply Quote 0
        • M
          Mahieedaboss last edited by

          What do you mean by throw away

          I am a real beginner

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

            @Mahieedaboss

            looks like pip is not installed…
            and virtual env

            https://stackoverflow.com/questions/39964635/error-virtualenv-command-not-found-but-install-location-is-in-pythonpath

            google is your friend

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

              @Mahieedaboss said in A number of them rlly...:

              What do you mean by throw away

              if you don’t know the command line commands

              how would u erase/delete/throw away a file or folder on a mac?

              use the finder to locate the folder and drop it in the trashcan

              M 1 Reply Last reply Reply Quote 0
              • M
                Mahieedaboss last edited by

                Pip??
                Virtual env??

                GOOGLE??? (jk)
                but seriously, pip, virtual env, was this in the installation document??

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

                  @Mahieedaboss you reported

                  ./setup.sh: line 3: pip: command not found
                  ./setup.sh: line 4: virtualenv: command not found
                  ./setup.sh: line 5: ./hhsmartmirror/bin/activate: No such file or directory

                  so, I searched on google for those strings… and came up with the link I posted

                  were they in the document, uh… no, because there has been some change in the last THREE YEARS since that repo was updated… my my how is THAT possible?!.. lol

                  the ONE skill EVERYONE needs in an opensource env, is the ability to search for resolutions of undocumented stuff…

                  it is assumed that everything will break shortly… cause there are no commitments to forward compatibility anymore…

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mahieedaboss @sdetweil last edited by

                    @sdetweil

                    SO

                    I rm -r the MagicMirror/ and AI-Smart-Mirror. I installed the installation script you said. I think it was successful because there was a new directory named Magic Mirror. The last line was this

                    \e[92mWe’re ready! Run \e[1m\e[97mpm2 start MagicMirror\e[0m\e[92m from the ~/MagicMirror directory to start your MagicMirror.\e[0m

                    I have a feeling it is telling me to do something. But what!!!
                    Please help.

                    P.S What time do you stay up till because this may take some time 😑 🙂

                    S 1 Reply Last reply Reply Quote 0
                    • M
                      Mahieedaboss @sdetweil last edited by

                      @sdetweil

                      So is this all a waste of time? This project?

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

                        @Mahieedaboss said in A number of them rlly...:

                        Run \e[1m\e[97mpm2 start MagicMirror\e[0m\e[92m from the ~/MagicMirror directory

                        so, you need to open a terminal window
                        then change to the users ~, MagicMirror folder MagicMirror, like this cd ~/MagicMirror

                        once there, you will need to type the command

                        npm start

                        and then hit enter

                        your next post… this project a waste of time? no idea… its old… don’t know what it did, don’t know if it will still work, or can be made to work…
                        I know I spent some time working on the aiclient with someone else a while back (many months)
                        I don’t remember the outcome

                        S M 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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