[Added on 2024.04.10]
(Cause of this issue)
- It was discovered that this issue occurred due to a discrepancy between the versions of the libraries (ipywidgets, nglview) in the python 3.8 and python 3.9 environments.
- This is because the path of the environment variable referenced by Jupyterlab is fixed in the python3.8 environment.
- Therefore, if you update only the python3.9 environment, the model not found error will occur because it will look at a path that is different from the environment variables set in python3.8.
- Also, since environment variables are loaded only when Matlantis is started, even if the library versions are aligned, they cannot be referenced correctly unless Matlantis is restarted.
(Response policy 1)
- After completing the following steps (installing pfcc-extras v0.7.0 in python3.8 and python3.9 environments), restart Matlantis.
(Response policy 2)
- After resetting the Python environment, install pfcc-extras v0.7.1 (which keep the version of libraries)
Reference: Dashboard - Advanced
Note: All other manually added libraries will also be deleted, so please judge carefully.
------------------------------
This incident is caused by a version mismatch with the jupyter backbone libraries due to upgrading some libraries in pfcc-extrasv0.7.0. We apologise for any inconvenience caused.
- Example of this error
This error can be resolved by installing pfcc-extras v0.7.0 in Python 3.8 environments as well as Python 3.9. Please run the installation in both Python 3.8 and 3.9 by changing the kernel in install.ipynb as follow. The fundamental solution to the problem is currently under investigation.