8000 update !pip to %pip per #1113 · python-control/python-control@e1f2167 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1f2167

Browse files
committed
update !pip to %pip per #1113
1 parent e5352b5 commit e1f2167

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The python-control package can also be used with `Google Colab
7474
<colab.google.com>`_ by including the following lines to import the
7575
control package::
7676

77-
!pip install control
77+
%pip install control
7878
import control as ct
7979

8080
Note that Google Colab does not currently support Slycot, so some

examples/python-control_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
" import control as ct\n",
4848
" print(\"python-control\", ct.__version__)\n",
4949
"except ImportError:\n",
50-
" !pip install control\n",
50+
" %pip install control\n",
5151
" import control as ct"
5252
]
5353
},
@@ -64,7 +64,7 @@
6464
" \n",
6565
"If you are using [Google Colab](https://colab.research.google.com), use the following command at the top of the notebook to install the `control` package:\n",
6666
"\n",
67-
" !pip install control\n",
67+
" %pip install control\n",
6868
"\n",
6969
"(The import code above automatically runs this command if needed.)\n",
7070
" \n",

0 commit comments

Comments
 (0)
0