Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when python setup.py install #18

Closed
manoharsonwan opened this issue Jun 20, 2019 · 6 comments
Closed

error when python setup.py install #18

manoharsonwan opened this issue Jun 20, 2019 · 6 comments

Comments

@manoharsonwan
Copy link

This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi

Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library

@leosocy
Copy link
Owner

leosocy commented Jun 20, 2019

This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi

Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library

Do you have so library installed?

@manoharsonwan
Copy link
Author

I solved this issue

This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi
Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library

Do you have so library installed?

@manoharsonwan
Copy link
Author

I solved this issue

This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi
Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library

Do you have so library installed?
I solved this issue but I am getting a new one which is:

File "example.py", line 16, in
config = edcc.EncoderConfig(29, 5, 5, 10)
AttributeError: module 'edcc' has no attribute 'EncoderConfig'

@manoharsonwan manoharsonwan reopened this Jun 22, 2019
@tbfly
Copy link

tbfly commented Jul 31, 2019

try run 'ldconfig'

@tharakarehan
Copy link

I solved this issue

This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi
Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library

Do you have so library installed?

how did you solve this issue? I got the same

@JUZXF
Copy link

JUZXF commented May 6, 2020

您好,我也遇到了一样的问题。我是基于windows系统下的anaconda创建的虚拟环境进行的编译,报了一样的错。请问需需要安装so library是啥?我这样的环境可以装吗

@leosocy leosocy closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants