Trying to install keyboard module using conda, and when I inputted
conda install -c conda-forge keyboard
returned
**PackagesNotFoundError: The following packages are not available from current channels:
- keyboard
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.**
I tried conda config --append channels conda-forge and then conda install keyboard and it still didn't work. I am working in a conda environment and other packages like opencv install correctly.
Am on MacOS if that's important
That package is currently built for osx-64, but not for osx-arm64 (what most macOS users have now).
When encountering this, first thing to do is tell Conda Forge that you'd like this built for osx-arm64 since this is done by request only (not a default). There are directions here: https://conda-forge.org/docs/maintainer/knowledge_base.html#apple-silicon-builds.
In the meantime, macOS users can always fallback to emulating with osx-64 packages. There are details on that in this answer.