Skip to content

Commit d92e241

Browse files
committed
add installation instructions
1 parent 45542b3 commit d92e241

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ipsuite/calculators/cp2k.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@
2222
import znh5md
2323
import zntrack
2424
from ase.calculators.singlepoint import SinglePointCalculator
25-
from cp2k_input_tools.generator import CP2KInputGenerator
25+
26+
try:
27+
from cp2k_input_tools.generator import CP2KInputGenerator
28+
except ImportError as err:
29+
raise ImportError(
30+
"Please install the newest development version of cp2k-input-tools: 'pip install"
31+
" git+https://github.com/cp2k/cp2k-input-tools.git'"
32+
) from err
33+
2634

2735
from ipsuite import base
2836

0 commit comments

Comments
 (0)