what's wrong with the python in cloudbase-init
I have ran into a weird scene of python which installed with cloudbase-init. I put a python script(we just call it scripta) in c:\windows\system32, then we go to the system32 through CD. now i run the command: python scripta, and we get an error: python: can't open file 'scripta': [Errno 2] No such file or directory. And when i use the Absolute Path in the command, i get the same error. And if i put the scripta into directory C:(some other directory will do, i don't try every directory), and run python C:\scripta, it works fine.
When i use the python install package from python.org, there is no such weird thing like that. I guess it should be a python problem, but i don't know how to fix it. I try adding c:\windows\system32 to PYTHONPATH environment variable, but it didn't work.
I try this in windows 2008 R2 and windows 2012 R2, they all act as same above. you can easy reproduce it use the steps above.
Is there someone can help? Thanks very much