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

New installation and error message #99

Open
Eric738 opened this issue Jun 20, 2020 · 16 comments
Open

New installation and error message #99

Eric738 opened this issue Jun 20, 2020 · 16 comments

Comments

@Eric738
Copy link

Eric738 commented Jun 20, 2020

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

@filipsPL
Copy link
Owner

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

@Eric738
Copy link
Author

Eric738 commented Jun 22, 2020

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

@filipsPL
Copy link
Owner

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 😄

@Eric738
Copy link
Author

Eric738 commented Jun 22, 2020

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? :(

@filipsPL
Copy link
Owner

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?

@Eric738
Copy link
Author

Eric738 commented Jul 28, 2020

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

@OK1SLM
Copy link

OK1SLM commented Jan 8, 2024

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

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 8, 2024

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

@OK1SLM
Copy link

OK1SLM commented Jan 8, 2024

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)

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 8, 2024

We are talking Bullseye?

@OK1SLM
Copy link

OK1SLM commented Jan 8, 2024

$ 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

@SA7BNT
Copy link
Contributor

SA7BNT commented Jan 8, 2024

$ 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
Copy link
Contributor

SA7BNT commented Jan 8, 2024

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

@filipsPL
Copy link
Owner

filipsPL commented Jan 8, 2024

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/

@OK1SLM
Copy link

OK1SLM commented Jan 8, 2024

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

@filipsPL
Copy link
Owner

filipsPL commented Jan 9, 2024

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

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

4 participants