NameError with extend_path using Bazel

120 views Asked by At

I am trying to make a python program using bazel. When running the following snippet of code:

__path__ = __import__('pkgutil').extend_path(__path__, __name__)

I am given the following error:

NameError: name '__path__' is not defined

0

There are 0 answers