res <- architect$utils$camera_utils$get_camera_param()
get_camera_param imports a bunch of other modules from throughout src.utils which is why I did the import at the src level. If I run the chunks manually in Rstudio, it works fine. But when I try to knit the file I get the following error:
Quitting from lines 51-52 (plot_camera.Rmd)
Error in py_get_attr_impl(x, name, silent) :
AttributeError: module 'src.utils' has no attribute 'camera_utils'
Calls: ... py_get_attr_or_item -> py_get_attr -> py_get_attr_impl
Execution halted
@cderv , I was able to mock up a minimalist example that recreates the problem. In fact, the mock example now fails with the same error whether I try to run the chunk manually or knit it. What's the best way to get the files to you? I've got a *.tgz file with the entire folder structure, but it doesn't look like I can upload *.tgz or *.tar files here.