Where to find mitmproxy-ca-cert.p12, if I install mitmproxy in windows 7

Is the file mitmproxy-ca-cert.p12 in your C:\ directory?
I ran the command successfully. Going by the error I think the p12 file may not be present in your working directory.
Also, you need to run cmd as admin.
Alternatively, you can also try right clicking the p12 file and click Install PFX