Closed uSaiPrashanth closed 2 years ago
This, however works well for the print_names.cc
file
Thanks for reporting your issue. Can I ask you to report the version of bazel you are running via bazel --version
?
I did a search, and it looks like you might be hitting this issue: https://github.com/bazelbuild/rules_python/issues/522, i.e. you're on an old version of bazel that doesn't support the env argument to py_binary
.
Thank you for the prompt response!!
The current version of Bazel on the kernal is bazel 3.7.2
I'm not sure how to fix that Should I compile bazel from the source?
It sounds like this is the root cause then.
I would recommend trying to update to a more up-to-date version of bazel, if possible. Precisely how to do this will depend on your system, but the official installation documentation should hopefully give you some pointers.
It worked!! Thank you very much for your kind support, and for releasing such an amazing dataset.
@uSaiPrashanth what python version and machine are you using? If on mac, did you get bazel from homebrew?
@KareemAlaa2001 I was using it on kaggle. You can have a look at my notebook here. As you can see, you might have to do a bit of fiddling around to get things working...
Python version: 3.7.12
Bazel version: 5.0.0
And yes I built it from source
It does take quite a while to build code_contests tho so have fun ig.... :)
I followed instructions detailed in a kaggle kernal. However, I encountered the titled error.
Bazel output: