Closed
Description
- face_recognition version: 02.1
- Python version: 2.7
- Operating System: Raspian
Description
I installed to face_recognition my raspberry pi successfully for python 3. Now i am trying to install for Python2 because i need it. When i was trying install i am taking a Memory Error. I attached the images from my error. Please help me
Activity
ageitgey commentedon Aug 22, 2017
Check out the README here:
Palakshi123 commentedon Apr 13, 2021
Hey,
This error is occurred because caching mechanism is trying to read entire file into memory before caching.
To solve this error, run the below code on terminal.
Sudo nano/etc/dphys.swapfile
CONF_SWAPSIZE = 1024 #change size
Sudo /etc/init.d/dphys.swapfile start
Sudo /etc/init.d/dphys.swapfile stop