Ken Chu
|
QNX 7.1 VMware image: Error import ctypes in Python
|
Ken Chu
07/23/2021 3:50 PM
post121532
|
QNX 7.1 VMware image: Error import ctypes in Python
Hi, I created a VMware image for QNX 7.1 X86 with Python installed. I ran the image using VMware player and in the VM,
I ran Python. In Python when I try to import ctypes, I get this error:
Python 3.8.6 (default, Nov 13 2020, 08:25:57)
[GCC 8.3.0 20190222 (lookup) [qnx710 1486#53]] on qnx
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "output/option_files/opt_python_pyc/pyc/ctypes/__init__.py", line 7, in <module>
ImportError: Library cannot be found
>>>
I see that the ctype Python library is installed under /system/lib/python3.8/ctypes. But I'm not sure why I am getting
this error. Any ideas?
Thanks.
|
|
|