Replace pip install mcpi with %pip which always installs in the right environment

This commit is contained in:
Aurélien Geron
2021-10-07 18:10:34 +13:00
parent b3081ceab6
commit fdb5d1695e
5 changed files with 16 additions and 9 deletions

View File

@@ -52,7 +52,7 @@
"IS_KAGGLE = \"kaggle_secrets\" in sys.modules\n",
"\n",
"if IS_COLAB or IS_KAGGLE:\n",
" !pip install -q -U tfx==0.21.2\n",
" %pip install -q -U tfx==0.21.2\n",
" print(\"You can safely ignore the package incompatibility errors.\")\n",
"\n",
"# Scikit-Learn ≥0.20 is required\n",