please read before you mark it as duplicate. :) i have tried all other similar issues in SO
I am trying to install virtualenv and i need to call a another python file.
Here is part of script: p = subprocess.Popen([python, 'setup.py', 'develop'], executable=appPath)
and i am getting the below error
p = subprocess.Popen([python, 'setup.py', 'develop'], executable=appPath)
File "C:\Python27\lib\subprocess.py", line 709, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 957, in _execute_child
startupinfo)
WindowsError: [Error 5] Access is denied
my appPath points to the setup.py location.
I have tried the answers here: 1 2 3 but that didn't help. I am running my cmd.exe under Administration privileges.
I tried processExplorer to see if there is any lock the file i am accessing but no one using the file at that point. my initial guess was it's something to do with the permissions but read/write permissions didnt help either.