LeoDJ / P2Pro-Viewer

A viewer and API for the InfiRay P2 Pro thermal camera module
MIT License
171 stars 22 forks source link

Missing requirements.txt #17

Open otiv33 opened 9 months ago

otiv33 commented 9 months ago

If I want to run this code I have to have all of the packages installed on my system. Otherwise I would have to weed through the code to find all the dependent libraries. One solution would be to add a requirements.txt file or use a dependency manager like Poetry.

Juniorduc44 commented 6 months ago

Yea would help. Was trying to use before bed but it seems im going to have to do some digging. Time for bed ill have to look another night.

pferdob commented 4 months ago

Got it to run using this in Fedora 39.

sudo dnf -y install python3-pyusb python3-pyaudio python3-ffmpeg-python
sudo pip install keyboard usb opencv-python
sk9la commented 3 months ago

Those are the deps you need to install from Pypi

ffmpeg-python
opencv-python
PyAudio
pyudev
pyusb

pip install -U ffmpeg-python opencv-python PyAudio pyudev pyusb

It would be preferable if you install them in an virtual environment to prevent conflicting issues with system deps.