You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run bazel run //py/web/myapp:manage but my requirements.txt can not be found:
ERROR: error loading package '': Encountered error while reading extension file 'requirements.bzl': no such package '@pyweb//': Trac
eback (most recent call last):
File "/private/var/tmp/_bazel_i871067/582c43307c634a2c875ee31a5da68b63/external/io_bazel_rules_python/python/pip.bzl", line 26
repository_ctx.execute(["python", repository_ctx.path(r...("")])
File "/private/var/tmp/_bazel_i871067/582c43307c634a2c875ee31a5da68b63/external/io_bazel_rules_python/python/pip.bzl", line 32, in repository_ctx.execute
repository_ctx.path(repository_ctx.attr.requirements)
Unable to load package for //py/web:requirements.txt: not found.
I'm sure I'm missing some small detail here. I wonder if someone can help me spot it. Thanks!
The text was updated successfully, but these errors were encountered:
I'm trying to add a simple Django app to my bazel monorepo.
To my root WORKSPACE I've added:
Then, at
py/web/requirements.txt
I have a normal requirements file frompip freeze
.I have a BUILD file at
py/web/myapp/BUILD
with:I try to run
bazel run //py/web/myapp:manage
but my requirements.txt can not be found:I'm sure I'm missing some small detail here. I wonder if someone can help me spot it. Thanks!
The text was updated successfully, but these errors were encountered: