• 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.

A number of them rlly...

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 3 Posters 2.5k 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 Apr 9, 2020, 7:36 PM

    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 Apr 9, 2020, 7:39 PM Reply Quote 0
    • S Away
      sdetweil @Mahieedaboss
      last edited by Apr 9, 2020, 7:39 PM

      @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 Apr 9, 2020, 7:46 PM Reply Quote 0
      • M Offline
        Mahieedaboss
        last edited by Apr 9, 2020, 7:43 PM

        What do you mean by throw away

        I am a real beginner

        S 1 Reply Last reply Apr 9, 2020, 7:48 PM Reply Quote 0
        • S Away
          sdetweil @sdetweil
          last edited by sdetweil Apr 9, 2020, 7:47 PM Apr 9, 2020, 7:46 PM

          @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 Away
            sdetweil @Mahieedaboss
            last edited by Apr 9, 2020, 7:48 PM

            @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 Apr 9, 2020, 8:02 PM Reply Quote 0
            • M Offline
              Mahieedaboss
              last edited by Apr 9, 2020, 7:51 PM

              Pip??
              Virtual env??

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

              S 1 Reply Last reply Apr 9, 2020, 7:55 PM Reply Quote 0
              • S Away
                sdetweil @Mahieedaboss
                last edited by Apr 9, 2020, 7:55 PM

                @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 Apr 9, 2020, 8:04 PM Reply Quote 0
                • M Offline
                  Mahieedaboss @sdetweil
                  last edited by Apr 9, 2020, 8:02 PM

                  @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 Apr 9, 2020, 8:09 PM Reply Quote 0
                  • M Offline
                    Mahieedaboss @sdetweil
                    last edited by Apr 9, 2020, 8:04 PM

                    @sdetweil

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

                    1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @Mahieedaboss
                      last edited by sdetweil Apr 9, 2020, 8:11 PM Apr 9, 2020, 8:09 PM

                      @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 Apr 9, 2020, 8:10 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/16
                        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