All Questions
1,373
questions
0
votes
0
answers
13
views
An error occurs when compiling a third-party library using swig
I have a C++ portable bag third-party library whose function is camera acquisition. I hope to call it in python. First, I wrote the swigtest.h file and swigtest.cpp file:
#pragma once
#include <...
-2
votes
1
answer
72
views
How to make an exe from python script using pyinstaller which can be used to connect to DB2 using ibm_db module
I made a script to connect to DB2 using ibm_db python module. It works fine when ran through script but when I convert it to exe I get error as [IBM][CLI Driver] SQL10007N Message "0" could ...
0
votes
1
answer
40
views
Could not add dll files while creating an exe from python script using pyinstaller
I made a program to connect to IBM DB2 using ibm_db module provided by python. While using import ibm_db, I get this error
ImportError: DLL load failed while importing ibm_db: The specified module ...
0
votes
1
answer
58
views
Subject: DLL Load Failed Error When Importing cv2 on Windows 11 Pro
Traceback (most recent call last): \Masaüstü\heatmap\heatmapp.py",
line 2, in
import cv2
List item
File
"C:\Users\MikailAkdeniz\AppData\Local\Programs\Python\Python312\Lib\site-packages\...
0
votes
0
answers
15
views
Data Source Manager is empty when I run Python application converted to .exe
If we consider that the entire Python application has only this much code: (I'm using: pytwain library for documents canning)
import twain
sm = twain.SourceManager(0)
src = sm.open_source()
When I ...
0
votes
1
answer
59
views
_cext module not found when importing matplotlib
While importing matplotlib, I am getting an error like:
ImportError: DLL load failed while importing _cext: The specified module could not be found.
I get this error with python 3.10, 3.11, and 3.12
...
2
votes
0
answers
16
views
ImportError: DLL load failed while importing mixture: The specified module could not be found. When I try use a .dll file and import from my .pyx file
I am trying to call a C function in Python using Cython from a set of C header files that I got from an R package. The goal is to replicate the R code in Python. R makes the .dll files when I built ...
0
votes
1
answer
196
views
install forge Error loading python DLL: python312.dll. Cant find this module
I am using install forge to create a Windows installer for my app. I create the dist folder using pyinstaller. In there I find the .exe and many files and folders. If I start this .exe everything ...
0
votes
0
answers
51
views
Pyinstaller unable to load a DLL dynamically at runtime
I'm building an application that requires loading a software specific DLL at runtime. The application is built using Pyinstaller, but since the DLL must be loaded at runtime (depending on the user's ...
0
votes
0
answers
30
views
Python call to DLL via CDLL Results in "STATUS_STACK_BUFFER_OVERRUN" Exception
I'm trying to make a call to an (https://www.autelrobotics.com/doc/609/) via a DLL in Python and the app crashes before the call returns. The Windows error logs show it to be a "...
0
votes
1
answer
150
views
ImportError: DLL load failed while importing _spropack: La procédure spécifiée est introuvable
Sorry about the bad English and programmation language, I'm kind of new to this. Anyway, here's my problem.
I have Spyder (Python 3.9) and I'd like to read some modules in my code. These modules need ...
0
votes
0
answers
27
views
How to fix DLL error in Image classification problem in CNN?
open Anaconda prompt
conda create -n myenv
conda create -n automated_class python=3.7.10
activate automated_class
pip install matplotlib
conda install pytorch==1.7.1 torchvision==0.8.2 cudatoolkit=10....
0
votes
1
answer
25
views
Why ctypes.CDLL is assuming long result type even though it's actually is long long?
Consider python code below - it seems that calling .dll's function is assuming long time for some reason (system is windows x64 if it's important).
Why it's doing this? Is there way to disable it? ...
0
votes
2
answers
1k
views
Pytorch import issue with shm.dll
I have an issue with importing torch, and error dealing with shm.dll or its dependencies came up. I would appreciate any help on this! Thank you in advance!
I have tried to use both the CPU and CUDA ...
0
votes
0
answers
25
views
How do we create DLL in python?
I had made a tool using image grabbing in python but we do not need to create .exe for that instead we need to create DLL in one file
I am tired trying into making DLL but it seems to be embedded ...