Closed sgbaird closed 11 months ago
Let's treat this as a duplicate of #69 for now.
When I run this with a newer Python version on Colab (Python 3.10.x), I not surprisingly run into #68.
To get rid of the ContextualVersionConflict: (wrapt 1.14.1
, please install pip install wrapt==1.14.1
and restart the runtime.
This happens when the Python runtime already imported one version of a package and now after installing nomad-lab
and thereby changing the version and now trying to import this other version. Forcing the install of wrapt==1.14.1
after installing nomad-lab
and getting a fresh Python runtime allows to work around this.
Just so GitHub knows - this is related to: https://github.com/openjournals/joss-reviews/issues/5388
We now released nomad-lab==1.2.0 to PyPI. This package can be installed to google codelab without any of the tricks above. Here is an example notebook: https://colab.research.google.com/drive/1Zlf24eAxFiqtIGbp5NLm66vQR8QPt3AM?usp=sharing.
Colab Reproducer
Similar to #69, this is for Python 3.8 on Colab, but I'm leaving it here since I gave it a try.