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
In build_interface.import_problem(), check that cache is in the Python path. Easiest way would be to add an ImportError catch to lines 341-342: return CUTEstProblem(__import__('%s.%s' % (CACHE_SUBFOLDER, problemDir), globals(), locals(), [str(problemDir)]), drop_fixed_variables=drop_fixed_variables)
If this throws an ImportError, just try to import CACHE_SUBFOLDER - an ImportError here indicates the Python path can't see it. This will hopefully avoid issues when using IDEs, etc.
The text was updated successfully, but these errors were encountered:
In build_interface.import_problem(), check that cache is in the Python path. Easiest way would be to add an ImportError catch to lines 341-342:
return CUTEstProblem(__import__('%s.%s' % (CACHE_SUBFOLDER, problemDir), globals(), locals(), [str(problemDir)]), drop_fixed_variables=drop_fixed_variables)
If this throws an ImportError, just try to import CACHE_SUBFOLDER - an ImportError here indicates the Python path can't see it. This will hopefully avoid issues when using IDEs, etc.
The text was updated successfully, but these errors were encountered: