6

I am new to Python. I wonder if is it possible to install a new package from inside iPython Notebook.

I tried pip install address but it returns error:

pip install address
              ^
SyntaxError: invalid syntax
AdamNYC
  • 19,887
  • 29
  • 98
  • 154

1 Answers1

17

Yes you can

Use the following syntax:

!pip install packagename

Reference thread

Community
  • 1
  • 1
Union find
  • 7,759
  • 13
  • 60
  • 111