myu
Hi, I have been having a problem downloading OpenPLC Editor on windows 11. I have tried installing and uninstalling it numerous times but I still get the same error in the terminal when I run OpenPLC Editor as admin (" Windows cannot find '.\python\.venv\Scripts\pythonw.exe'. Make sure you typed the name correctly, and try again."). Even though its saying it can't find the file, pythonw.exe exists in that directory. I also have read and write access on the folder so I don't know what's causing the issue. 
 
I also tried to download OpenPLC Runtime manually since my company blocks the .exe download and I got a similar error when I tried to open it as well. In the cygwin terminal, I got this error "./start_openplc.sh: line 11:/home/user/OpenPLC_v3/.venv/bin/python3: No such file or directory"
 
Hoping someone can assist me with this issue.
 
Thanks!
 
[203128%2F8676738%2Fmceclip0]
Reply 0 0
thiagoralves
Looks like your antivirus or some other protection software is preventing access to that file or corrupting the editor installation. Try disabling that and installing the editor again. Also, you don’t have to run it as administrator.
Reply 0 0
myu
Hi Thiago,
 
Do you know why the antivirus/protection software is trying to block the installation? Does OpenPLC need special access to something?
 
Thanks for your help.
Reply 0 0
thiagoralves
OpenPLC uses Python, and bundles the entire Python environment with it to be portable and easy to use. Some antivirus don't like that as several malwares do the same thing, bundling python executables with them. Since python is pretty generic and allows you to run any command on the machine, sometimes AVs tend to be cautious and block that. But this is pretty disturbing and, myself being someone that worked writing AVs in the past, I used to hate that behavior and did all I could to avoid our AV to do that.
Reply 0 0
Reply