Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI Zero2 W scipy dependency fails to install #26

Closed
VaporwareII opened this issue Jun 30, 2022 · 0 comments
Closed

RPI Zero2 W scipy dependency fails to install #26

VaporwareII opened this issue Jun 30, 2022 · 0 comments

Comments

@VaporwareII
Copy link

When installing on a zero 2 W, the scipy install dies on numpy. It's a memory issue, since you only have 300 some MB. You'll need to increase the swapfile size, at least temporarily. Alternatively install the dependencies on a full size Pi4 and transfer the folders.

also don't forget to run apt get update.

I followed the instructions at:
https://pimylifeup.com/raspberry-pi-swap-file/

to save some clicks, here's the terminal commands

sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile
ctrl-w
CONF_SWAPSIZE=100
---change 100 to 1024 or 2048. I wasted enough time last night. I changed it to 2048 and it finished in about an hour.
ctrl-x
y
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
----then reboot
sudo reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant