Hi,
ich bekomme folgende Fehlermeldung beim Versuch mit pip install . eine Software (python3 github projekt) zu installieren:
Code
root@raspberrypi:~/scripts/wattpilot# pip3 install .
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /root/scripts/wattpilot
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: PyYAML in /usr/local/lib/python3.9/site-packages (from wattpilot==0.2) (6.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.9/site-packages (from wattpilot==0.2) (1.3.2)
Requirement already satisfied: paho-mqtt in /usr/local/lib/python3.9/site-packages (from wattpilot==0.2) (1.6.1)
Collecting cmd2
Using cached https://www.piwheels.org/simple/cmd2/cmd2-2.4.3-py3-none-any.whl (147 kB)
ERROR: Package 'wattpilot' requires a different Python: 3.9.9 not in '<4,>=3.10'
root@raspberrypi:~/scripts/wattpilot#
Display More
nun wollte ich python3 und pip / pip3 entfernen um eventuell sauber python3 und pip nochmal installieren zu können:
Code
root@raspberrypi:~# apt-get remove python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'python3' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python-bluez : Depends: python (>= 2.7) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
python-imaging : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-numpy : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7~) but it is not going to be installed
Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-opencv : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7~) but it is not going to be installed
Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-pil : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7~) but it is not going to be installed
Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-pkg-resources : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-rpi.gpio : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7~) but it is not going to be installed
Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-simplejson : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7~) but it is not going to be installed
Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-xdg : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7) but it is not going to be installed
Depends: python:any (>= 2.6.6-7~)
speedtest-cli : Depends: python (< 2.8) but it is not going to be installed
Depends: python (>= 2.7) but it is not going to be installed
Depends: python:any (>= 2.6.6-7~)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@raspberrypi:~#
Display More
ich denk ich hab da einiges zu viel drauf:
Code
root@raspberrypi:/usr/local/bin# ls
2to3 f2py idle3 pip pip3.9 pydoc3.10 python3.10-config python3-config wattpilotshell
2to3-3.10 f2py3 idle3.10 pip3 pivpn pydoc3.9 python3.9 squeezelite_settings.sh wsdump
2to3-3.9 f2py3.9 idle3.9 pip3.10 pydoc3 python3.10 python3.9-config tqdm
root@raspberrypi:/usr/local/bin#
root@raspberrypi:/usr/local/lib# ls
libpython3.10.a libpython3.9.a pkgconfig python2.7 python3.10 python3.5 python3.9
root@raspberrypi:/usr/local/lib#
root@raspberrypi:/usr/local/lib# python3 --version
Python 3.9.9
root@raspberrypi:/usr/local/lib# python --version
Python 3.10.0
Display More
wie kann ich da sauber aufräumen, um der ersten Meldung gerecht zu werden:
danke