autowx2 icon indicating copy to clipboard operation
autowx2 copied to clipboard

New installation and error message

Open Eric738 opened this issue 4 years ago • 16 comments

GM after a new installation i meet this probléme 👍

./autowx2.py Traceback (most recent call last): File "./autowx2.py", line 13, in from autowx2_functions import * # all functions and magic hidden here File "/home/pi/autowx2/autowx2_functions.py", line 26, in import matplotlib File "/home/pi/.local/lib/python2.7/site-packages/matplotlib/init.py", line 133, in from matplotlib.rcsetup import defaultParams, validate_backend, cycler File "/home/pi/.local/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 31, in from matplotlib.fontconfig_pattern import parse_fontconfig_pattern File "/home/pi/.local/lib/python2.7/site-packages/matplotlib/fontconfig_pattern.py", line 28, in from backports.functools_lru_cache import lru_cache ImportError: No module named functools_lru_cache

how i can fix it ? thank for help

Eric

Eric738 avatar Jun 20 '20 07:06 Eric738

Thanks for reporting. This is a possible problem with matplotlib. Please look at the solutions mentioned here:

https://stackoverflow.com/questions/47179433/python-2-7-functools-lru-cache-does-not-import-although-installed

filipsPL avatar Jun 22 '20 06:06 filipsPL

thank for url, i will follow steps to install. Do you think update the project under python 3.8 one day ? because few messages said while installation that python 2.7 is out of date ? thank infos

Eric738 avatar Jun 22 '20 10:06 Eric738

Do you think update the project under python 3.8 one day

yes, this is one of the main goals for the future. Unfortunatelly the problem are some libraries, which are python 2.7 only... But we will get to this point one day :smile:

filipsPL avatar Jun 22 '20 13:06 filipsPL

cool, I hope one day because the program is really great I can't wait to get it to work properly, this is not currently the case. 2 concerns 1 / aprs.sh generates an error message and does not listen to the right frequency on 144800 update 👍 its ok i found solution 2 / the website is not working properly, on the first page I have the log as if I were in terminal function instead of displaying the photos received and I cannot solve this problem. where can i look? :(

Eric738 avatar Jun 22 '20 14:06 Eric738

2 / the website is not working properly, on the first page I have the log as if I were in terminal function instead of displaying the photos received and I cannot solve this problem. where can i look? :(

which website are you referring to?

filipsPL avatar Jul 21 '20 09:07 filipsPL

site on my raspi..he recovered photos are not displayed we only see the log displayed

Eric738 avatar Jul 28 '20 09:07 Eric738

Please heelp

ok1slm@raspberrypi:~/autowx2 $ ./autowx2.py Traceback (most recent call last): File "./autowx2.py", line 13, in from autowx2_functions import * # all functions and magic hidden here File "/home/ok1slm/autowx2/autowx2_functions.py", line 14, in import predict ImportError: No module named predict

OK1SLM avatar Jan 08 '24 16:01 OK1SLM

Please heelp

ok1slm@raspberrypi:~/autowx2 $ ./autowx2.py Traceback (most recent call last): File "./autowx2.py", line 13, in from autowx2_functions import * # all functions and magic hidden here File "/home/ok1slm/autowx2/autowx2_functions.py", line 14, in import predict ImportError: No module named predict

pip install PREDICT

SA7BNT avatar Jan 08 '24 16:01 SA7BNT

Could not find a version that satisfies the requirement SimpleITK==1.1.0 (from PREDICT) (from versions: 1.0.1, 1.2.0, 2.1.0, 2.1.1.2, 2.3.0) No matching distribution found for SimpleITK==1.1.0 (from PREDICT)

OK1SLM avatar Jan 08 '24 16:01 OK1SLM

We are talking Bullseye?

SA7BNT avatar Jan 08 '24 16:01 SA7BNT

$ hostnamectl Static hostname: raspberrypi Icon name: computer Machine ID: c92a5dc2fbb64690ab00553567909537 Boot ID: 34f4767d0f3d42d3872b7ed460b47304 Operating System: Raspbian GNU/Linux 10 (buster) Kernel: Linux 5.10.103-v7+ Architecture: arm

OK1SLM avatar Jan 08 '24 16:01 OK1SLM

$ hostnamectl Static hostname: raspberrypi Icon name: computer Machine ID: c92a5dc2fbb64690ab00553567909537 Boot ID: 34f4767d0f3d42d3872b7ed460b47304 Operating System: Raspbian GNU/Linux 10 (buster) Kernel: Linux 5.10.103-v7+ Architecture: arm

Maybe @filipsPL has an answer

SA7BNT avatar Jan 08 '24 16:01 SA7BNT

hostnamectl

sa7bnt@exemple:~$ hostnamectl Static hostname: exemple.com Icon name: computer-desktop Chassis: desktop Operating System: Debian GNU/Linux 10 (buster) Kernel: Linux 4.19.0-24-amd64 Architecture: x86-64

Bildschirmfoto 2024-01-08 um 17 57 13

SA7BNT avatar Jan 08 '24 16:01 SA7BNT

ok1slm@raspberrypi:~/autowx2 $ ./autowx2.py Traceback (most recent call last): File "./autowx2.py", line 13, in from autowx2_functions import * # all functions and magic hidden here File "/home/ok1slm/autowx2/autowx2_functions.py", line 14, in import predict ImportError: No module named predict

Please install pypredict: pip install pypredict (this is different from PREDICT mentioned above) -> https://pypi.org/project/pypredict/

filipsPL avatar Jan 08 '24 19:01 filipsPL

ok1slm@raspberrypi:~/autowx2 $ ./autowx2.py Traceback (most recent call last): File "./autowx2.py", line 13, in from autowx2_functions import * # all functions and magic hidden here File "/home/ok1slm/autowx2/autowx2_functions.py", line 36, in from flask_socketio import SocketIO, emit ImportError: No module named flask_socketio

OK1SLM avatar Jan 08 '24 22:01 OK1SLM

Please check the requirements:

pypredict
matplotlib
numpy
Flask
"Flask-SocketIO<=5.2.0"

and pip install any packages you have not yet installed. In this case try:

pip install Flask-SocketIO==5.2.0

filipsPL avatar Jan 09 '24 07:01 filipsPL