question

DimitriB-1079 avatar image
0 Votes"
DimitriB-1079 asked euangMS answered

Is there a way to install Python / Scala libraries from within notebooks?

In Databricks it is possible to install Python (but not Scala) libraries from within notebook, into notebook's local scope, e.g.:

!pip install 'library-name'

or


dbutils.library.installPyPI("library-name")

Is something similar possible with Synapse?

azure-synapse-analytics
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

euangMS avatar image
1 Vote"
euangMS answered

Not currently no. Python libraries can be added via a requirements.txt (output from a pip freeze) at the Spark pool level. We will add more options in the future.

-Euan

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.