alpr-unconstrained icon indicating copy to clipboard operation
alpr-unconstrained copied to clipboard

Error while compiling

Open mad0511 opened this issue 6 years ago • 3 comments

Traceback (most recent call last): File "vehicle-detection.py", line 6, in import darknet.python.darknet as dn File "D:\alpr-unconstrained-master\alpr-unconstrained-master\darknet\python\darknet.py", line 48, in lib = CDLL("darknet/libdarknet.so", RTLD_GLOBAL) File "C:\Users\User\Anaconda3\envs\tens\lib\ctypes_init_.py", line 356, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

mad0511 avatar Jun 20 '19 08:06 mad0511

You probably did not build darknet library. First, you need to do "cd darknet && make" to build it.

PhilipsKoshy avatar Jul 03 '19 08:07 PhilipsKoshy

I am using Windows then How can I build Darknet libarary in windows I am getting same error

Traceback (most recent call last): File "vehicle-detection.py", line 6, in import darknet.python.darknet as dn File "D:\alpr-unconstrained-master\alpr-unconstrained-master\darknet\python\darknet.py", line 48, in lib = CDLL("darknet/libdarknet.so", RTLD_GLOBAL) File "C:\Users\User\Anaconda3\envs\tens\lib\ctypes_init_.py", line 356, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

Sahilsk99 avatar Sep 01 '19 10:09 Sahilsk99

I am using Windows then How can I build Darknet libarary in windows I am getting same error

Traceback (most recent call last): File "vehicle-detection.py", line 6, in import darknet.python.darknet as dn File "D:\alpr-unconstrained-master\alpr-unconstrained-master\darknet\python\darknet.py", line 48, in lib = CDLL("darknet/libdarknet.so", RTLD_GLOBAL) File "C:\Users\User\Anaconda3\envs\tens\lib\ctypes_init_.py", line 356, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

did you find the solution?

talalz94 avatar Oct 01 '19 10:10 talalz94