Closed TheBrigandier closed 6 years ago
Seems this may be able to be fixed with --no-cache-dir
added to the pip arguments in OctoPrint's Plugin Manager configuration. Awaiting feedback from tester.
Unable to fix. This is an issue with Pi Zero W and its memory constraints. Updated README.md with info on working around it.
The solution is to pre-install the dependencies, as explained in the README.md file, BUT you need to tell pip not to read all the file in memory by using the --no-cache-dir :
/home/pi/oprint/bin/pip --no-cache-dir install matplotlib numpy
The MemoryError will disappear and the dependencies will be installed as needed.
The README.md file should be corrected accordingly.
André
Received a report of pip returning "MemoryError" when installing this on a low memory Pi system. Adding this issue to document the eventual fix.