jedie / inverter-connect

Get information from Deye Microinverter
https://pypi.org/project/inverter-connect/
GNU General Public License v3.0
25 stars 7 forks source link

Errors after ./cli.py edit-settings #93

Open HNeumeier opened 9 months ago

HNeumeier commented 9 months ago

Hello i downloaded the Package and the i get the following errors, may you can help me, Thanks

root@raspimessen /opt/fhem/bin/inverter-connect # ./cli.py edit-settings Create virtual env here: /opt/fhem/bin/inverter-connect/.venv-app The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/opt/fhem/bin/inverter-connect/.venv-app/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

root@raspimessen /opt/fhem/bin/inverter-connect # apt-get install python3-venv Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig python3-venv ist schon die neueste Version (3.9.2-3). Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt: libjs-node-uuid Verwenden Sie »apt autoremove«, um es zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. root@raspimessen /opt/fhem/bin/inverter-connect # ./cli.py edit-settings

/opt/fhem/bin/inverter-connect/.venv-app/bin/python: No module named pip Traceback (most recent call last): File "/opt/fhem/bin/inverter-connect/./cli.py", line 115, in main(sys.argv) File "/opt/fhem/bin/inverter-connect/./cli.py", line 97, in main verbose_check_call(PYTHON_PATH, '-m', 'pip', 'install', '-U', 'pip-tools') File "/opt/fhem/bin/inverter-connect/./cli.py", line 81, in verbose_check_call return subprocess.check_call(popen_args) File "/usr/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '(PosixPath('/opt/fhem/bin/inverter-connect/.venv-app/bin/python'), '-m', 'pip', 'install', '-U', 'pip-tools')' returned non-zero exit status 1.