scriptorron / indi_pylibcamera

INDI libcamera driver made in Python
MIT License
11 stars 5 forks source link

Installation unter Debian bookworm #56

Closed SigvaldS closed 4 months ago

SigvaldS commented 6 months ago

Seit neuestem läßt sich unter bookworm auf dem Raspberry Pi nicht mehr pip auf externe quellen nutzen. Der Versuch über ein eigenes Enviroment ist leider missglückt.

Gab es nicht eine Möglichkeit den Sourcecode direkt zu nutzen? SigvaldS

scriptorron commented 6 months ago

Das Package is auf PyPi und kann ohne Umstände mit pip installiert werden. Habe gestern erst auf einem Pi5 mit Bookworm installiert. Ich installiere immer in einem Environment weil ich ganz oft Versionen wechseln muss. Dabei installiere ich immer picamera2 und numpy mit apt, weil sonst Abhängigkeiten mit System-Libraries nicht aufgelöst werden. Meine Prozedur ist:

Aber auch Environment müßte pip install indi_pylibcamera funktionieren.

scriptorron commented 6 months ago

Ach, nochwas. Auf Pi5 gibt es momentan Probleme mit den Bilddaten: picamera2 macht auf Pi5 eine andere Skalierung der Rohdaten. Siehe Issue #54. Ich arbeite an einem Fix in Branch 54-noisy-image-with-raspberry-pi-5.

scriptorron commented 5 months ago

Hat sich das Problem gelöst?

ettoreribaudo commented 5 months ago

Hello Roland all perfect but i have other raspberry with Raspbian 12 and your procedure have problems in :

source venv_indi_pylibcamera/bin/activate (permissione denied) pip install --upgrade pip (error: externally-managed-environment

This environment is externally managed

To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.)

pip install indi_pylibcamera (pip install indi_pylibcamera error: externally-managed-environment

This environment is externally managed

To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.)

Reagrds. Ettore

scriptorron commented 4 months ago

No response since 2 months. Seems the issue is solved.