Jump to content
William23668

How to install Delphi 4 Python ? ImportError: DLL load failed while importing DelphiVCL: The specified module could not be found

Recommended Posts

I tried to follow the steps as per embarcadero tutorial like that:

> pip install delphivcl
Collecting delphivcl
  Using cached delphivcl-0.1.24-cp311-cp311-win_amd64.whl
Installing collected packages: delphivcl
Successfully installed delphivcl-0.1.24

> Python
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from delphivcl import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Python311\Lib\site-packages\delphivcl\__init__.py", line 22, in <module>
    package = new_import()
              ^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\delphivcl\__init__.py", line 15, in new_import
    ld = loader.create_module(spec)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing DelphiVCL: The specified module could not be found.

What is the problem ?

Edited by William23668

Share this post


Link to post
1 minute ago, pyscripter said:

I dont't think python 11 is supported yet.

Oh really ? I will uninstall 11 and install 10 then...thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×