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

Errors after python capture.py

Scheduled Pinned Locked Moved Unsolved Troubleshooting
1 Posts 1 Posters 491 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.
  • S Offline
    SdeGeata
    last edited by Jun 13, 2019, 7:49 PM

    Re: Facial Recognition Module - Step by Step Guide

    I have followed all the directives here, but pull two errors upon trying to train:

    #1
    pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ pip install -r requirements.txt
    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
    Collecting future (from -r requirements.txt (line 1))
      Using cached https://www.piwheels.org/simple/future/future-0.17.1-py3-none-any.whl
    Installing collected packages: future
    ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/libpasteurize'
    Consider using the `--user` option or check the permissions.
    
    #2
    pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ python capture.py
    Traceback (most recent call last):
      File "capture.py", line 18, in <module>
        import lib.capture as capture
      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/capture.py", line 21, in <module>
        from . import config
      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/config.py", line 15, in <module>
        (CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.__version__.split(".")
    ValueError: need more than 3 values to unpack
    
    

    Can you help???

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      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