mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Replace pip install mcpi with %pip which always installs in the right environment
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
" !echo \"deb http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal\" > /etc/apt/sources.list.d/tensorflow-serving.list\n",
|
||||
" !curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add -\n",
|
||||
" !apt update && apt-get install -y tensorflow-model-server\n",
|
||||
" !pip install -q -U tensorflow-serving-api\n",
|
||||
" %pip install -q -U tensorflow-serving-api\n",
|
||||
"\n",
|
||||
"# Scikit-Learn ≥0.20 is required\n",
|
||||
"import sklearn\n",
|
||||
|
||||
Reference in New Issue
Block a user