'module' object has no attribute 'vm'
#511 opened on Sep 22, 2018
Description
Hi, please how to resolve this problem?
Traceback (most recent call last): File "C:/Users/khalil/PycharmProjects/vmware/finalScript/pyvmomicreateVM.py", line 34, in vmconf = vim.vm.ConfigSpec(numCPUs=1, memoryMB=mem) AttributeError: 'module' object has no attribute 'vm' Error in atexit._run_exitfuncs: Traceback (most recent call last): File "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) WindowsError: [Error 32] Le processus ne peut pas acc�der au fichier car ce fichier est utilis� par un autre processus: 'c:\users\khalil\appdata\local\temp\tmp4xh6zd.py' Error in sys.exitfunc: Traceback (most recent call last): File "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) WindowsError: [Error 32] Le processus ne peut pas acc�der au fichier car ce fichier est utilis� par un autre processus: 'c:\users\khalil\appdata\local\temp\tmp4xh6zd.py