Read avro data , unable import com.databricks.spark.avro._ getting error

Hi ,
i am getting error while trying to import the below pakcage usnig below command in lab.

spark-shell --packages com.databricks:spark-avro_2.10:2.0.1 --conf “spark.port.maxRetries=100”

Error :-

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Exception in thread “main” java.lang.RuntimeException: [unresolved dependency: org.apache.avro#avro;1.7.6: not found]

Please help .

Try this
enter spark-shell first and then run below:
import com.databricks.spark.avro._

This should do the same job…