From db4ee29465d4447ba2e7f240d441531dfee32c43 Mon Sep 17 00:00:00 2001 From: Roland Stevenson Date: Fri, 25 Aug 2023 10:51:34 +0000 Subject: [PATCH] rm __version__, #659 --- examples/validation_with_tmle.ipynb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/validation_with_tmle.ipynb b/examples/validation_with_tmle.ipynb index 6919130a..0ff22166 100644 --- a/examples/validation_with_tmle.ipynb +++ b/examples/validation_with_tmle.ipynb @@ -99,7 +99,8 @@ "from causalml.metrics.visualize import *\n", "from causalml.propensity import calibrate\n", "\n", - "print(causalml.__version__)" + "import pkg_resources\n", + "pkg_resources.get_distribution('causalml').version" ] }, { @@ -1300,7 +1301,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -1314,7 +1315,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.9" + "version": "3.8.17" }, "pycharm": { "stem_cell": {