Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Python Selenium Library Problem in CVI

$
0
0

Hello,

I wrote python script to automate company web page using selenium library. I tested it and ran the script in command prompt and it works. I wrote a batch file that calls python script, and it works fine again. However, when I call my batch file from CVI in C language, it gives me this error that "Failed to launch GPU process". 

My python script, batch file, and how I call it in C file are loaded here. BTW, I'm familiar with python, C, and batch scripting, and I did several batches before and all work. I think this error has something to do with CVI preventing chrome from launching GPU process. I tried firefox, but same error.  My batch files work when I click on them or call them from command prompt.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>