Azure Ml Execute Python Module: Network I/o Disabled?
Is there no way to connect to a URL from azure ml and get it's content my code: import requests def azureml_main(dataframe1 = None, dataframe2 = None): b= requests.get('ht
Solution 1:
UPDATE 1/28/2016
Network I/O for Execute Python Script
is now supported.
Out of date
Network I/O is not support from Execute Python Modules. In order to execute such a program, you should instead launch a virtual machine(Windows or Linux your choice).
Windows:
- RDP into Virtual Machine
- Install your choice of Python
- You can drag and drop your Python program from your Local Windows machine onto your RDP screen to transfer your code
- Then run your program
Ubuntu:
- SSH into your virtual machine using Cygwin or Putty(Windows) or Terminal SSH (mac)
ssh yourUserName@yourAzureVM.cloudapps.net
- install Python
sudo apt-get install python
- open your preferred Linux text editor
vi myProgram.py
- Copy and Paste your code into the editor (leave vi with esc
:wq
) - Run your code
python myProgram.py
To move data from your VM to AzureML please check out the Azure-MachineLearning-ClientLibrary-Python on Github
Post a Comment for "Azure Ml Execute Python Module: Network I/o Disabled?"