-
Notifications
You must be signed in to change notification settings - Fork 48
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
does unfortunately not work with debian 11 #69
Comments
The problem seems to be a dependency from Can you try if you're able to install tfjs-graph-converter and possibly report a bug there? I guess they just need to change their dependencies to allow tensorflow or tf-nightly |
The problem seems to go deeper, probably one needs to patch Do you know the timeline for tensorflow to release a python3.9 version? Or can the tf-nightly version be built with the name tensorflow? I tried hacking some things in the tf-nightly metadata to make it appear like tensorflow and got a lot of other dependency problems, for example, pip downloading ten versions of pygments to check which one may be compatible. The other, probably easier, option: create an environment with python3.8. I don't know what's the best way. The easiest may be a debian stable chroot, but tools like conda exist as well. When you do something like this, I would appreciate when you can add what worked for you to this issue. |
i am not familiar with python, so there is no "hacking" for me ;) |
I tried copying around and renaming things in a the virtual environment. Don't bother, it only complicates things. |
i was able to install python 3.8 on debian, but no idea how i should now continue.
but when i try to start it i get:
not sure if i can use that python3.8 without pip for virtual_webcam_background |
to install python 3.8
a docker (or better podman) image would be awesome, then there is no hassle with debian 11 or at least a nice workaround |
How to install python3.8: Compile python 3.8.2 like in this howto: https://linuxize.com/post/how-to-install-python-3-8-on-debian-10/ I chose to install it into a different prefix instead of using the altinstall into /usr/local
Now you need to get virtualenv to use your new pip. I installed virtualenv into my $HOME:
And created a python3.8 environment:
Now you should be able to install the packages from |
great, i'll try that later! but would be still awesome to have this running in podman too ;) |
I likely won't create podman/docker containers, but I guess some people would be interested when you build one. |
thanks, i am a bit further now
that it complains about gpu/cuda is i guess irrelevant, so wondering whats wrong i have /dev/video0 /dev/video1 and /dev/video2 (last one created by modprobe v4l2loopback) |
You're probably not using the right devices. I guess you need to use video0 as real device and video2 as fake device or maybe video1 as real device, I don't know why cameras create two devices and for my camera only the first one works. |
great, had to use: |
I currently load the loopback driver before plugging in the webcam (as I plug it out when I don't use it) so it is always video0, but maybe the docs should be updated to use a high number (e.g. |
see pypa/pip#9284 (comment)
had to modify the requirements.txt because debian 11 ships python 3.9. tensorflow requires the latest version available to have python 3.9 support
The text was updated successfully, but these errors were encountered: