Closed rickwierenga closed 4 months ago
M1 supports both x86-64 (Intel) and ARM64. So if you use an x86-64 Python installation, then you can install pyvirtualcam via PyPI. I'll keep this issue open to track the publication of PyPI wheels for macOS ARM64. The main blocker currently is GitHub Actions which doesn't support ARM64 (wheels are produced and published within Actions).
I would also like to use pyvirtualcam on M1 and am having the same issue. Is there any workaround for this?
Also, I found https://github.com/pypa/cibuildwheel which supports Apple silicon. Perhaps pyvirtualcam could switch to that for building wheels?
I would also like to use pyvirtualcam on M1 and am having the same issue. Is there any workaround for this?
Also, I found https://github.com/pypa/cibuildwheel which supports Apple silicon. Perhaps pyvirtualcam could switch to that for building wheels?
Use the build from source directions at the bottom of the readme. I have the grayscale animation running on an M1 with obs virtual camera, took only a few seconds to install.
Would it make sense to provide the source package as well on PyPi? Because the following works great on an M1:
pip install git+https://github.com/letmaik/pyvirtualcam
@cansik I generally don't publish source packages anymore for any of my binary Python packages as those more often than not lead to failed builds with obscure error messages and more people complaining and I don't have the time to handle the support requests. I treat building from source as an advanced use case that shouldn't happen by accident (pip automatically falls back to source packages if there are no binary wheels for the target Python version and/or platform, which is unfortunate).
@letmaik Thanks for your explanation and I can understand that of course. I solved it now by including the following lines into the requirements of my project. On MacOS arm64, the library will be installed from source, otherwise from the prebuilt wheel.
git+https://github.com/letmaik/pyvirtualcam; platform_system == "Darwin" and platform.machine == "arm64"
pyvirtualcam; platform_system != "Darwin" or platform.machine != "arm64"
Would it make sense to provide the source package as well on PyPi? Because the following works great on an M1:
pip install git+https://github.com/letmaik/pyvirtualcam
Thank you i use it successful
Would it make sense to provide the source package as well on PyPi? Because the following works great on an M1:
pip install git+https://github.com/letmaik/pyvirtualcam
work for me.
Describe the bug
Related issue: https://github.com/letmaik/pyvirtualcam/issues/15.
Could this be because of M1?