diff --git a/demos/python/platformCheck.ipynb b/demos/python/platformCheck.ipynb index 52730ad..d25a927 100644 --- a/demos/python/platformCheck.ipynb +++ b/demos/python/platformCheck.ipynb @@ -96,9 +96,13 @@ " from jpype import *\n", " print(\"✅ jpype1 is already installed.\")\n", "except ImportError:\n", - " print(\"❌ jpype1 is not installed, installing now.\")\n", - " !pip install --user jpype1\n", - " print(\"Install attempted: if successful, you should restart the kernel and run the notebook again after this.\")" + " print(\"❌ jpype1 is not installed!\")\n", + " # In principle, we could try to install jpype1 for the user as:\n", + " # !pip install --user jpype1\n", + " # However there are too many complications (e.g. pip-v-pip3, externally managed environments, etc).\n", + " # So we will ask the user to install jpype1 themselves\n", + " print(\"Please use your python package manager (e.g. pip, pip3, homebrew, conda, etc) to install *jpype1* (not jpype).\")\n", + " print(\"Then restart the kernel for this notebook, and run the notebook again.\")" ] }, {