Call error of a Python application (+Opencv) in Visual Studio 17 (C#)

Asked

Viewed 47 times

0

I’m trying to make a "control panel" that each button will call a Python application(+Opencv) but when I run it through the Pycharm IDE, or straight from the folder, it runs perfectly, but when I make the call through Visual 17, it appears the following error Error 01[ https://imgur.com/a/3mTcF ]

visual call (c#)

private void button1_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("C:/Users/Barce/PycharmProjects/OpenCV/exemplo3.py"); }

  • If you run straight into the terminal the operation is normal?

  • @Marcosdacruzsibiliojr. yes, it rotates normally, only when I call him by the look that gives this error

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.