raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

Fixed bash-unix installation by updating numpy version to 1.19.2 #64

Open Abril-Barrera opened 4 months ago

Abril-Barrera commented 4 months ago

Why

Description
Installation of library fails when executing bash unix-install-rsudp.sh script because numpy version required (1.16.4) is not available anymore in conda-forge. So the script is not able to finish.
Tested in MAC OS M1 Sonoma 14.5
Screenshot 2024-05-28 at 7 58 09 a m
Deployment Type Risk/Impact
Bugfix High

What

Checklist

Definition of Done

Additional notes

There is another issue with freetype, it should be added as a dependency and also the variables for it should be declared. I didn't do it because it would need a different variable approach for both WIN and UNIX. Since I am unable to test in WIN, I preferred to just used the command "brew install freetype" which adds the library and variables, fixing the error as a work-around.

But as a real solution, the environment.yml should be updated with both the dependency and corresponding variables. The SS of the error can be found below.

Evidence

1. Numpy version 1.16.4 error Screenshot 2024-05-28 at 7 58 09 a m 2. Succesful installtion with new version of numpy image 3. Freetype error Screenshot 2024-05-28 at 8 38 21 a m
dmitryint commented 3 months ago

Hello. Thanks for your pull request! May I ask you a few questions?