python 2.7 - getting unexpected keyword arguemet while using namespace paramteres on 2012r2 -


i trying create hyperv vm's using wmi python module on local server. while trying connect local server, getting following errors.

>>> import wmi >>> wmi.wmi(namespace="root\virtualization")  traceback (most recent call last):   file "<pyshell#14>", line 1, in <module>     wmi.wmi(namespace="root\virtualization")   file "c:\python27\lib\site-packages\wmi\__init__.py", line 98, in  func_wrapper     return func(*args, **kwargs) typeerror: wmi() got unexpected keyword argument 'namespace' 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -