starlark

When use Pants to build Django it raise "ModuleNotFoundError: No module named"

When use Pants to build Django it raise "ModuleNotFoundError: No module named" Question: I configured Pantsbuild for our Django project, and everything worked neatly. Here is my BUILD file: python_requirement( name="django", requirements=["django==4.1.1"], ) python_sources( name="lib", dependencies=[ ":django", "//src/jango/jango", ], ) pex_binary( name="manage", entry_point="manage.py", restartable=True, ) but when I added django-filter, and run the code with …

Total answers: 2