Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error 126: Could not open Dll "python***.dll" #476

Closed Answered by pyscripter
coolmyf asked this question in Q&A
Discussion options

When I compile the application in delphi or lazarus, the same error message as the title always be shown. I have set pythonengine's dllname and dllpath property, but the problem still exists. Could anyone tell me to do? Thanks!

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

Are you on Windows?
Have you got python installed? Which version?
Is it the same bitness as your Lazarus app? (32 bits or 64 bits)?

You must be logged in to vote
1 reply
Comment options

Yes. I am using windows 7. Lazarus version is 2.2.0 and FPC version is 3.2.2. The lazarus is a 32bit verison. I have python 3.8.10 (64bit) installed on my PC.Besides, I also have a similar problem when I use delphi xe10 seattle on the same PC. Do you mean that I must use Lazarus and Python the same 32 or 64 bit version?

Comment options

Yes.
...
On 2024年6月19日, 05:38 coolmyf, ***@***.***> wrote: Yes. I am using windows 7. Lazarus version is 2.2.0 and FPC version is 3.2.2. The lazarus is a 32bit verison. I have python 3.8.10 (64bit) installed on my PC.Besides, I also have a similar problem when I use delphi xe10 seattle on the same PC. Do you mean that I must use Lazarus and Python the same 32 or 64 bit version? — Reply to this email directly, view it on GitHub <#476 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAKAHACEFSWMO6XMEVZUP5TZIDVKTAVCNFSM6AAAAABJPWFJWKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMJSGM3DK> . You are receiving this because you commented.Message ID: ***@***.*** com>
You must be logged in to vote
1 reply
Comment options

Thanks!

Answer selected by pyscripter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /