Reputation: 297
I found out python library 'haversine', used to calculate distance between 2 geometry coordinates. I put a comment in Google Colab Jupyter Notebook and run 'pip install haversine' like below.
Surprisingly, I got a 'Syntax Error'. I remove the comment and the command run successfully. What is the issue?
Upvotes: 3
Views: 14823
Reputation: 2721
Well to install any library in google colab you need to put an exclamation mark before statement like following;
!pip install haversine
Upvotes: 16