Azure-docs: Install Python Packages on VM

Created on 19 Jul 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

Once I set up Notebook VM, how do I install packages? For example, package like plotnine, seaborn?

I tried !pip install seaborn and I get the following error:

mxnet-model-server 1.0.1 requires model-archiver, which is not installed. flake8 3.7.5 has requirement pycodestyle<2.6.0,>=2.5.0, but you'll have pycodestyle 2.4.0 which is incompatible. blobxfer 1.6.0 has requirement requests~=2.21.0, but you'll have requests 2.18.4 which is incompatible. blobxfer 1.6.0 has requirement ruamel.yaml~=0.15.85, but you'll have ruamel-yaml 0.15.35 which is incompatible. chainermn 1.3.1 has requirement chainer<5.0,>=3.5.0, but you'll have chainer 5.2.0 which is incompatible. autovizwidget 0.12.7 has requirement plotly<3.0,>=1.10.0, but you'll have plotly 3.6.1 which is incompatible. azure-datalake-store 0.0.41 has requirement requests>=2.20.0, but you'll have requests 2.18.4 which is incompatible.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 corsubsvc cxp machine-learninsvc product-question triaged

All 4 comments

@thecpshah
Thanks for the feedback! We are currently investigating and will update you shortly.

Try "!source activate py36 && pip install seaborn". The default Jupyter environment is not 3.6, so you need to switch it. We are working on smoothing this out, but for now you need to do source activate.

Thanks @thecpshah for asking about this. I just added this info to the article, in the Next steps section.

please-close

Thank you, this solution works.

Was this page helpful?
0 / 5 - 0 ratings