I don’t know anything about sfml but it looks like there is a conda-forge package for it: Sfml :: Anaconda.org . You could try adding that to your requirements.
I brew uninstall sfml and I tried to add it in the requirements section, but it seems that it cannot be found in this way, in-spite I have conda-forge as main channel. In-fact, I get this error:
conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-arm64: {MatchSpec("sfml")}
Encountered problems while solving:
- nothing provides requested sfml
Could not solve for environment specs
The following package could not be installed
└─ sfml does not exist (perhaps a typo or a missing channel).
Oh, I didn’t notice you are building on osx-arm64. It looks like there’s no conda-forge build for that platform.
I guess you could look at the info here and see if you can trigger a conda-forge build for ARM64. That may be going a bit far afield relative to what you originally wanted to do, though. I’m not even sure your original error would be resolved by this. Anyway I think I’m out of ideas given that I don’t use Macs and have no idea what sfml even is.