I've tried to follow the directions, but I'm having trouble with numpy, and I wonder if I missed something in the setup. I'm running on MacOS, and trying to run a py_binary and a docker py3_image. With both bazel run :demo and bazel run :ddemo, I get an error when importing numpy about ImportError: cannot import name 'WinDLL'.
Do I need to do something different with the config_setting calls? I'm not certain I correctly followed the instructions about them being hardcoded at //tool_bazel
Thanks for making and sharing these rules ❤️
I've tried to follow the directions, but I'm having trouble with numpy, and I wonder if I missed something in the setup. I'm running on MacOS, and trying to run a
py_binary
and a dockerpy3_image
. With bothbazel run :demo
andbazel run :ddemo
, I get an error when importing numpy aboutImportError: cannot import name 'WinDLL'
.I've created an example repo here that reproduces the problem: https://github.com/kindlyops/bazel-python-demo
Do I need to do something different with the
config_setting
calls? I'm not certain I correctly followed the instructions about them being hardcoded at//tool_bazel