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

Problem in Installing Qark requirements #410

Open
thewindgod9 opened this issue Oct 23, 2023 · 2 comments
Open

Problem in Installing Qark requirements #410

thewindgod9 opened this issue Oct 23, 2023 · 2 comments

Comments

@thewindgod9
Copy link

while i am trying to install qark requirements, I am getting the following error
Defaulting to user installation because normal site-packages is not writeable
Ignoring enum34: markers 'python_version < "3.4"' don't match your environment
Requirement already satisfied: asn1crypto==0.24.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.24.0)
Requirement already satisfied: certifi==2018.1.18 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (2018.1.18)
Collecting cffi==1.11.5 (from -r requirements.txt (line 9))
Using cached cffi-1.11.5.tar.gz (438 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: chardet==3.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 38)) (3.0.4)
Requirement already satisfied: click==6.7 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 42)) (6.7)
Collecting cryptography==2.2.1 (from -r requirements.txt (line 45))
Using cached cryptography-2.2.1-cp34-abi3-manylinux1_x86_64.whl (2.2 MB)
Requirement already satisfied: idna==2.6 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 69)) (2.6)
Requirement already satisfied: ipaddress==1.0.19 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 73)) (1.0.19)
Requirement already satisfied: javalang==0.11.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 76)) (0.11.0)
Requirement already satisfied: jinja2==2.10 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 78)) (2.10)
Requirement already satisfied: markupsafe==1.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 81)) (1.0)
Requirement already satisfied: pluginbase==0.5 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 84)) (0.5)
Requirement already satisfied: pycparser==2.18 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 86)) (2.18)
Collecting pyopenssl==17.5.0 (from -r requirements.txt (line 89))
Using cached pyOpenSSL-17.5.0-py2.py3-none-any.whl (53 kB)
Requirement already satisfied: requests==2.18.4 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from requests[security]==2.18.4->-r requirements.txt (line 93)) (2.18.4)
Requirement already satisfied: six==1.11.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 96)) (1.11.0)
Requirement already satisfied: urllib3==1.22 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 99)) (1.22)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/cffi
copying cffi/model.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/commontypes.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/error.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/api.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/recompiler.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/init.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/verifier.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/lock.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/cparser.py -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/_embedding.h -> build/lib.linux-x86_64-cpython-38/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-38/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/c
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-38/c/_cffi_backend.o
c/_cffi_backend.c: In function ‘b_do_dlopen’:
c/_cffi_backend.c:4197:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
4197 | p_printable_filename = PyText_AsUTF8(s);
| ^
c/_cffi_backend.c: In function ‘b_callback’:
c/_cffi_backend.c:5911:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
5911 | if (ffi_prep_closure(closure, &cif_descr->cif,
| ^~
In file included from c/_cffi_backend.c:15:
/usr/include/x86_64-linux-gnu/ffi.h:334:1: note: declared here
334 | ffi_prep_closure (ffi_closure
,
| ^~~~~~~~~~~~~~~~
In file included from c/cffi1_module.c:20,
from c/_cffi_backend.c:7370:
c/call_python.c: In function ‘_get_interpstate_dict’:
c/call_python.c:20:30: error: dereferencing pointer to incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
20 | builtins = tstate->interp->builtins;
| ^~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects

@thewindgod9
Copy link
Author

i installed cmake also to run any c/c++ binaries for python but no use pls someone help me with this issue thanks in advance

@juhkarh
Copy link

juhkarh commented Mar 28, 2024

Same problems here. This is repo seems to be totally outdated.

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

2 participants