Hello @MicrosoftUser ,
Welcome to the Microsoft Q&A platform.
Python packages can be installed from repositories like PyPI and Conda-Forge by providing an environment specification file.
Environment specification formats:
PIP requirements.txt
A requirements txt file (output from the pip freeze command) can be used to upgrade the environment. When a pool is updated, the packages listed in this file are downloaded from PyPI. The full dependencies are then cached and saved for later reuse of the pool.
The following snippet shows the format for the requirements file.
absl-py==0.7.0
adal==1.2.1
alabaster==0.7.10
YML format (preview)
In addition, you can also provide an environment.yml file to update the pool environment. The packages listed in this file are downloaded from the default Conda channels, Conda-Forge, and PyPI. You can specify other channels or remove the default channels by using the configuration options.
This example specifies the channels and Conda/PyPI dependencies.
name: stats2
channels:
- defaults
dependencies:
- bokeh
- numpy
- pip:
- matplotlib
- koalas==1.7.0
For more details, refer to Manage Python libraries for Apache Spark in Azure Synapse Analytics.
Hope this helps. Do let us know if you any further queries.
---------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
Hello @MicrosoftUser ,
Apologize for the delay in response.
As I said in the above post, Python packages can be installed from repositories like PyPI and Conda-Forge by providing an environment specification file.
I will update this thread once it available. Stay tuned!
Hello @MicrosoftUser ,
Just checking in to see if the above answer helped. If this answers your query, do click
Accept Answer
andUp-Vote
for the same. And, if you have any further query do let us know.Hello @MicrosoftUser ,
Following up to see if the above suggestion was helpful. And, if you have any further query do let us know.
Hello @PRADEEPCHEEKATLA-MSFT ,
Just checking up to know if installing python packages from private repo is supported yet?
Sign in to comment