Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Hotfix for import error in python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunqi Shao committed May 1, 2023
1 parent 7de67ac commit 9b03a67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notebooks/7_pinn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
"!pip install --quiet git+https://github.com/yqshao/PiNN.git@TF2\n",
"!pip install --quiet git+https://github.com/yqshao/PiNNboard.git@TF2\n",
"!wget -nv https://raw.githubusercontent.com/yqshao/PiNNLab/master/resources/qm9_{train,test}.{yml,tfr}"
"!sudo sed -i s/from \collections\ import/from\ collections.abc\ import/g /usr/local/lib/python3.10/dist-packages/tensorboard/_vendor/html5lib/_trie/_base.py"
"# ^ hotfix for https://github.com/tensorflow/tensorboard/issues/5478"
]
},
{
Expand Down

0 comments on commit 9b03a67

Please sign in to comment.