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.

    A number of them rlly...

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 3 Posters 4.4k 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.
    • M Offline
      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 Do not disturb
        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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • M Offline
          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 Do not disturb
            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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                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 Do not disturb
                  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…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    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 Offline
                      Mahieedaboss @sdetweil
                      last edited by

                      @sdetweil

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

                      1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        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

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S M 2 Replies Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @sdetweil
                          last edited by

                          @Mahieedaboss I am US central time… now just after 3pm

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil

                            Hey so I entered and then electron came up with out any text, just black w/ a cursor.

                            Also, is there a similar AI project that is more worthwhile??

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

                              @sdetweil

                              Oh good, GMT 21 15

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

                                @sdetweil

                                Hey so I entered and then electron came up with out any text, just black w/ a cursor.

                                Also, is there a similar AI project that is more worthwhile??

                                S lavolp3L 2 Replies Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @Mahieedaboss
                                  last edited by sdetweil

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

                                  Hey so I entered and then electron came up with out any text, just black w/ a cursor.
                                  (that is called the black screen, usually cause of some error in a module)

                                  before making any changes from the rest of the script?

                                  roll the mouse up to the top left of the screen, you shoudl get a title bar, with two buttons, red and green,
                                  press green, then the middle orange minimize button,

                                  there should be messages in the terminal window… what are the last 10 messages>

                                  ai , sorry, no idea…

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • lavolp3L Offline
                                    lavolp3 Module Developer @Mahieedaboss
                                    last edited by lavolp3

                                    @Mahieedaboss

                                    Also, is there a similar AI project that is more worthwhile??

                                    HA!

                                    This is the most worthwhile…
                                    You’re already there.
                                    Deal with it.
                                    Embrace it.

                                    How to troubleshoot modules
                                    MMM-soccer v2, MMM-AVStock

                                    1 Reply Last reply Reply Quote 1

                                    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