Skip to content Skip to sidebar Skip to footer

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:

  1. RDP into Virtual Machine
  2. Install your choice of Python
  3. You can drag and drop your Python program from your Local Windows machine onto your RDP screen to transfer your code
  4. Then run your program

Ubuntu:

  1. SSH into your virtual machine using Cygwin or Putty(Windows) or Terminal SSH (mac) ssh yourUserName@yourAzureVM.cloudapps.net
  2. install Python sudo apt-get install python
  3. open your preferred Linux text editor vi myProgram.py
  4. Copy and Paste your code into the editor (leave vi with esc :wq )
  5. 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?"