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

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

Open
HNeumeier opened this issue Sep 17, 2023 · 0 comments
Open

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

HNeumeier opened this issue Sep 17, 2023 · 0 comments

Comments

@HNeumeier
Copy link

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 -m pip install -U pip-tools

/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.

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

1 participant