I am trying to install the linearmodels package on Jupyter notebook using the following code:

```
pip install linearmodels

```

but I am getting the following error message:

```
      File "<ipython-input-47-dc9347e29b91>", line 1
    pip install linear models
              ^
SyntaxError: invalid syntax

```

Can you anyone please help me with this? 

After installing the linearmodels package I'll be importing a two-stage instrumental variables regression:

```
from linearmodels.iv import IV2SLS

```