Azure-Samples / azure-batch-samples

Azure Batch and HPC Code Samples
Other
261 stars 487 forks source link

"TypeError" exception when running sample1_helloword.py. #267

Closed k0staa closed 5 years ago

k0staa commented 5 years ago

When running the example, an error occurs due to an incorrect name of the constructor argument.

TypeError: __init__() got an unexpected keyword argument 'base_url'

Steps to reproduce the error:

  1. clone repository
  2. create python environment virtualenv azure
  3. activate environment source azure/bin/activate
  4. install dependencies pip install -r requirements.txt
  5. run code python sample1_helloword.py
k0staa commented 5 years ago

Due to merge #268 , we can close it.