I have found errors while installing OpenPLC editor in Ubuntu 22.04. I have faced following errors:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-U19GYV/sslpsk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-U19GYV/sslpsk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-FNA1A9
cwd: /tmp/pip-install-U19GYV/sslpsk/
Complete output (22 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/__init__.py -> build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk
creating build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/__init__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/__main__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/test_sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk/test
running build_ext
building 'sslpsk._sslpsk' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/sslpsk
x86_64-linux-gnu-gcc -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-W40Ff2/python2.7-2.7.18=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c sslpsk/_sslpsk.c -o build/temp.linux-x86_64-2.7/sslpsk/_sslpsk.o
sslpsk/_sslpsk.c:17:10: fatal error: Python.h: No such file or directory
17 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for sslpsk
Please explain me the reason of error.
If it's any issue please resolve it ASAP.
Also after Installation with above error. I can see the icon of OpenPLC but unable to launch it also it is not launched by command line too.
Throw following error.
I think above errors are the reason behind this.
ImportError: No module named wx