TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
147 stars 40 forks source link

Failed to build image pip during installation #85

Open Evo609 opened 10 months ago

Evo609 commented 10 months ago

I have a problem during installation of K1 script.

###### Creating python virtual environment for moonraker-obico...

RuntimeError: failed to build image pip because:
Traceback (most recent call last):
  File "/opt/lib/python3.11/site-packages/virtualenv/seed/embed/via_app_data/via_app_data.py", line 57, in _install
    installer.install(creator.interpreter.version_info)
  File "/opt/lib/python3.11/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 33, in install
    self._uninstall_previous_version()
  File "/opt/lib/python3.11/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 144, in _uninstall_previous_version
    dist_name = self._dist_info.stem.split("-")[0]
                ^^^^^^^^^^^^^^^
  File "/opt/lib/python3.11/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 110, in _dist_info
    raise RuntimeError(msg)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: no .dist-info at /root/.local/share/virtualenv/wheel/3.8/image/1/CopyPipInstall/pip-23.3.1-py3-none-any, has pip
kennethjiang commented 10 months ago

There is only 1 K1 between all Obico team members. And we couldn't reproduce this problem on that K1. So it'll be great if @Evo609 , or anyone who can reproduce this problem on the K1, can do some debugging for us.

ArnoS146 commented 4 months ago

I got the same issue on the K1 Max

ArnoS146 commented 4 months ago

Has anyone had any luck on this? I tested it again on the K1 Max V2 still the same issue