Closed swaradgat19 closed 11 months ago
When the first import of QuPathProject
fails, paquo.settings
is already loaded and configured. When you then change the environment variable, the old setting keeps on being used when searching for QuPath.
You might be able to work around this issue by calling paquo.settings.reload()
after setting the environment variable to force reloading the configuration.
This worked for me. Thank you for your prompt response! @ap--
Glad I could help 😃
qupath.py:
I am calling the
make_qupath_project(wsi_dir, results_dir)
from another python file with the appropriate arguments. When I run that python file, I am getting the following errors:The environment variable
PAQUO_QUPATH_DIR
is successfully getting set inconfigure_path
function. Why am I unable to importfrom paquo.projects import QuPathProject
even after setting the environment variable? Could you comment as to why this is happening?