Skip to content

pybar not working #167

@Thare342

Description

@Thare342

"D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\Scripts\python.exe" "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\Barcode.py"
Traceback (most recent call last):
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\zbar_library.py", line 58, in load
dependencies, libzbar = load_objects(Path(''))
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\zbar_library.py", line 50, in load_objects
deps = [
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\zbar_library.py", line 51, in
cdll.LoadLibrary(str(directory.joinpath(dep)))
File "C:\Users\lka-3plcssops3\AppData\Local\Programs\Python\Python38\lib\ctypes_init_.py", line 451, in LoadLibrary
return self.dlltype(name)
File "C:\Users\lka-3plcssops3\AppData\Local\Programs\Python\Python38\lib\ctypes_init
.py", line 373, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'libiconv.dll' (or one of its dependencies). Try using the full path with constructor syntax.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\Barcode.py", line 1, in
from pyzbar.pyzbar import decode
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\pyzbar.py", line 7, in
from .wrapper import (
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\wrapper.py", line 151, in
zbar_version = zbar_function(
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\wrapper.py", line 148, in zbar_function
return prototype((fname, load_libzbar()))
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\wrapper.py", line 127, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\zbar_library.py", line 60, in load
dependencies, libzbar = load_objects(Path(file).parent)
File "D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\zbar_library.py", line 54, in load_objects
libzbar = cdll.LoadLibrary(str(directory.joinpath(fname)))
File "C:\Users\lka-3plcssops3\AppData\Local\Programs\Python\Python38\lib\ctypes_init_.py", line 451, in LoadLibrary
return self.dlltype(name)
File "C:\Users\lka-3plcssops3\AppData\Local\Programs\Python\Python38\lib\ctypes_init
.py", line 373, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'D:\Users\Senurip\OneDrive - Expolanka International (Pvt) Limited\Desktop\NEW P\pythonProject3.venv\lib\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Process finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions