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

Missing requirements.txt #17

Open
otiv33 opened this issue Dec 8, 2023 · 3 comments
Open

Missing requirements.txt #17

otiv33 opened this issue Dec 8, 2023 · 3 comments

Comments

@otiv33
Copy link

otiv33 commented Dec 8, 2023

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
Copy link

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
Copy link

pferdob commented Apr 11, 2024

Got it to run using this in Fedora 39.

  • Connect as single camera
  • Start script with root permissions
sudo dnf -y install python3-pyusb python3-pyaudio python3-ffmpeg-python
sudo pip install keyboard usb opencv-python

@sk9la
Copy link

sk9la commented Jun 4, 2024

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.

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

4 participants