Skip to content

Commit 98ef321

Browse files
Merge pull request #272172 from kecheung/docupdate
Add note in manage session-scoped packages
2 parents 5d373f7 + 55ac107 commit 98ef321

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/synapse-analytics/spark/apache-spark-azure-portal-add-libraries.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@ Session-scoped packages allow users to define package dependencies at the start
110110

111111
To learn more about how to manage session-scoped packages, see the following articles:
112112

113-
- [Python session packages](./apache-spark-manage-session-packages.md#session-scoped-python-packages): At the start of a session, provide a Conda *environment.yml* file to install more Python packages from popular repositories. Or you can use %pip and %conda commands to manage libraries in the Notebook code cells.
113+
- [Python session packages](./apache-spark-manage-session-packages.md#session-scoped-python-packages): At the start of a session, provide a Conda *environment.yml* file to install more Python packages from popular repositories. Or you can use `%pip` and `%conda` commands to manage libraries in the Notebook code cells.
114+
115+
> [!IMPORTANT]
116+
>
117+
> - **Do not use** `%%sh` to try an install libraries with pip or conda. The behavior is **not the same** as %pip or %conda.
114118
115119
- [Scala/Java session packages](./apache-spark-manage-session-packages.md#session-scoped-java-or-scala-packages): At the start of your session, provide a list of *.jar* files to install by using `%%configure`.
116120

0 commit comments

Comments
 (0)