Closed govardhangdg closed 4 years ago
Can you try to install from github? This issue should be fixed!
hmm... liburing files were included in pip install liburing
build.
Received the following on running python setup.py install
within the repo
[govardhan@arch]: ~/work/iouring/Liburing>$ python setup.py install Traceback (most recent call last): File "setup.py", line 18, in
setup(url='https://github.com/YoSTEALTH/Liburing', File "/usr/lib/python3.8/site-packages/setuptools/init.py", line 145, in setup return distutils.core.setup(*attrs) File "/usr/lib/python3.8/distutils/core.py", line 108, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 446, in init _Distribution.init(self, { File "/usr/lib/python3.8/distutils/dist.py", line 292, in init self.finalize_options() File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 735, in finalize_options ep.load()(self, ep.name, value) File "/usr/lib/python3.8/site-packages/cffi-1.14.0-py3.8-linux-x86_64.egg/cffi/setuptools_ext.py", line 217, in cffi_modules add_cffi_module(dist, cffi_module) File "/usr/lib/python3.8/site-packages/cffi-1.14.0-py3.8-linux-x86_64.egg/cffi/setuptools_ext.py", line 49, in add_cffi_module execfile(build_file_name, mod_vars) File "/usr/lib/python3.8/site-packages/cffi-1.14.0-py3.8-linux-x86_64.egg/cffi/setuptools_ext.py", line 25, in execfile exec(code, glob, glob) File "builder.py", line 10, in subprocess.run('./configure') File "/usr/lib/python3.8/subprocess.py", line 489, in run with Popen( popenargs, **kwargs) as process: File "/usr/lib/python3.8/subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: './configure'
Update: worked with pip install git+https://github.com/YoSTEALTH/Liburing
Thanks.
ok, cool ...
https://github.com/YoSTEALTH/Liburing/tree/master/libs
uses submodules so ya... :)
But I can't use it :(
Python 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import liburing Traceback (most recent call last): File "
", line 1, in File " ", line 259, in load_module File "/usr/lib/python3.8/site-packages/liburing-2020.2.26-py3.8.egg/liburing/init.py", line 1, in ModuleNotFoundError: No module named 'liburing._liburing'
Even though it is installed:
[govardhan@arch]: ~/work/iouring/futures>$ pip show liburing Name: liburing Version: 2020.2.26 Summary: This is a Python + CFFI wrapper around Liburing C library, which is a helper to setup and tear-down io_uring instances. Home-page: https://github.com/YoSTEALTH/Liburing Author: STEALTH Author-email: None License: UNKNOWN Location: /usr/lib/python3.8/site-packages/liburing-2020.2.26-py3.8.egg Requires: cffi Required-by:
hmm... that is weird. how did it install without compiling the liburing._liburing.so
?
can you try pip install --upgrade
way? maybe you are looking at previously failed installed.
It worked! Thanks a lot!!
cool :)
What I did?
ran the command
pip install liburing
Output
OS
Arch linux 5.5.7-arch1-1
Additional
As the liburing files were not present initially, i had to install them using
yay -S liburing