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
  • 18,859
  • 28
  • 93
  • 150

1 Answers1

16

Yes you can

Use the following syntax:

!pip install packagename

Reference thread

Community
  • 1
  • 1
Union find
  • 7,095
  • 13
  • 52
  • 97