Embarcadero / DelphiVCL4Python

Delphi's VCL library as a Python module for building Windows GUI
Other
254 stars 55 forks source link

Cannot find DelphiVCL.pyd #36

Closed ahmedmohiduet closed 2 years ago

ahmedmohiduet commented 2 years ago

I am facing error while running sample python3 hellodelphivcl.py:

Traceback (most recent call last):
  File "hellodelphivcl.py", line 1, in <module>
    from delphivcl import *
  File "/home/mohi/.local/lib/python3.8/site-packages/delphivcl/__init__.py", line 22, in <module>
    package = new_import()
  File "/home/mohi/.local/lib/python3.8/site-packages/delphivcl/__init__.py", line 15, in new_import
    ld = loader.create_module(spec)
ImportError: /home/mohi/.local/lib/python3.8/site-packages/delphivcl/DelphiVCL.pyd: cannot open shared object file: No such file or directory

Any clues?

lmbelo commented 2 years ago

Which platform are you using? The VCL library only works on Windows. Try the FMX library instead.

ahmedmohiduet commented 2 years ago

Got it. I am running Ubuntu 20.04.