Open Luca-Hiller opened 3 years ago
What version did you have before 1.5.5? I was digging around and saw: Installation of 1.5.3 and doing an update is working.
You can also try: pip uninstall numpy pip install numpy==1.17.2
If Python3 > try pip3
pip3 uninstall numpy pip3 install numpy==1.17.2
Since I haven't updated mine for months, I'll give it a shot and report back.
That does not work with pip3 install numpy==1.17.2 but i will try to downgrade it to 1.5.3 and Upgrade it back to 1.5.5
but thanks anyway
That does not work with pip3 install numpy==1.17.2 but i will try to downgrade it to 1.5.3 and Upgrade it back to 1.5.5
but thanks anyway
I have to actually upgrade to the latest myself. I haven't upgraded for quite some time (months) I'm a bit far behind. I'll do it later today and see if I run into any issues. If I do, I'll mess around with it until I get it working then provide a step-by-step solution.
@evilsocket maybe it is time for a new release where this issue is finally fixed. It is really hard for newcomers (me included) to fix this by hand. also this issue https://github.com/evilsocket/pwnagotchi/issues/1046 would be fixed with a new release.
@peterus did somebody debug and fix this and is a PR available for merge? i'm just one of 133 contributors, i'll gladly merge a fix when available but being this an unpaid project I do not have the tiime to work on it myself right now.
@evilsocket totaly understand! I have also a lot of projects and I am not getting paid 😂 I was reading about this issue now in several tickets and the only solution is to use a newer numpy version (deinstall the current and install the latest numpy).
I will test on my development machine to update numpy, test it on my raspberry zero and create a MR when done.
That does not work with pip3 install numpy==1.17.2 but i will try to downgrade it to 1.5.3 and Upgrade it back to 1.5.5 but thanks anyway
I have to actually upgrade to the latest myself. I haven't upgraded for quite some time (months) I'm a bit far behind. I'll do it later today and see if I run into any issues. If I do, I'll mess around with it until I get it working then provide a step-by-step solution.
I had to update to latest to get it to work too. 1.17.2 doesn't work after the apt full-upgrade
.
sudo pip3 install --upgrade numpy
Still not got fixed.. Project is idle - 8 Months since last update in the master branch
That does not work with pip3 install numpy==1.17.2 but i will try to downgrade it to 1.5.3 and Upgrade it back to 1.5.5 but thanks anyway
I have to actually upgrade to the latest myself. I haven't upgraded for quite some time (months) I'm a bit far behind. I'll do it later today and see if I run into any issues. If I do, I'll mess around with it until I get it working then provide a step-by-step solution.
I had to update to latest to get it to work too. 1.17.2 doesn't work after the
apt full-upgrade
.sudo pip3 install --upgrade numpy
This fixed it for me. After updating everything I could with apt and doing all the suggested things near the top what finally got the AI to load for the first time on my Pi Zero W was:
/etc# pip3 install --upgrade numpy
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting numpy
pwnagotchi 1.5.5 has requirement numpy==1.17.2, but you'll have numpy 1.21.6 which is incompatible.
matplotlib 3.4.1 has requirement pillow>=6.2.0, but you'll have pillow 5.4.1 which is incompatible.
Installing collected packages: numpy
Found existing installation: numpy 1.17.2
Uninstalling numpy-1.17.2:
Successfully uninstalled numpy-1.17.2
Successfully installed numpy-1.21.6
Now you'd think the warning means the numpy would break however using tail -f on my /var/log/pwnagotchi.log I finally saw these:
[INFO] [ai] bootstrapping dependencies ...
<snip 7 minutes>
[INFO] [ai] creating model ...
<30-35 min after boot>
[ai] model created:
[ai] learning for 50 epochs ...
After waiting a while to make sure the incompatible numpy version didn't actually break things I started getting handshakes. Thanks for the fix! Hope it works for others.
On 1.5.5 this problem can indeed be solved by updating numpy. Ive ran sudo pip3 install --upgrade numpy
without updating pip. It installed numpy-1.21.6. The numpy build process took about 1.5 hours on RP0W. The ai seems to be working fine.
Edit: sudo is quite important in this case
On 1.5.5 this problem can indeed be solved by updating numpy. Ive ran
sudo pip3 install --upgrade numpy
without updating pip. It installed numpy-1.21.6. The numpy build process took about 1.5 hours on RP0W. The ai seems to be working fine.Edit: sudo is quite important in this case !
I also installed numpy-1.21.6 the same way, but the error did not disappear. Did you make any other changes before updating numpy?
I am also getting this issue on v1.5.5 of pwnagotchi. I attempted installations using both root and sudo, using pip3 install --upgrade numpy, but still getting the same issue
I am also getting this issue on v1.5.5 of pwnagotchi. I attempted installations using both root and sudo, using pip3 install --upgrade numpy, but still getting the same issue
Its a long time ago where i had this problem i fixed it but dont know how i did it maybe try asking in the Unofficial Discord Server
Hello, I read in a post that you can turn on the AI by uninstalling numpy and reinstalling it, this error occurred after the reinstallationI don't know how to fix this but maybe someone can help me.
(See image)
Greetings from Germany