Last active
November 29, 2017 15:40
-
-
Save chhantyal/a0dde0eaa829340d187fb7427a275032 to your computer and use it in GitHub Desktop.
Install PyODBC on Azure Spark cluster to connect to SQL Server and othere databases. By default it is not installed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# To use, submit this script url to Script Actions in Azure Portal | |
/usr/bin/anaconda/envs/py35/bin/pip install pyodbc | |
# Just /usr/bin/anaconda/bin/conda for Python 2. |
Try this sudo /usr/bin/anaconda/bin/conda install -c anaconda -y pyodbc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have tried this but i am not able to find the installation directory of pyodbc.