You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried multiple solutions and even used chatgpt. but there is no solution that could solve my problem. I am not expert in this field. So, your help would help me to solve the issue.
I have tried both with sudo and non sudo method.
I have tried both -U and without -U.
I have tried reinstalling python, R and pip.
I also tried updating pip.
I tried installing rchitect manually.
I have tried installing required packages.
I have tried reinstalling wheel
But no Luck!
stack Trace was:
Defaulting to user installation because normal site-packages is not writeable
Collecting radian
Using cached radian-0.6.8-py3-none-any.whl
Collecting rchitect<0.5.0,>=0.4.3 (from radian)
Using cached rchitect-0.4.4.tar.gz (32 kB)
Preparing metadata (setup.py) ... done
Collecting prompt-toolkit<3.1,>=3.0.15 (from radian)
Using cached prompt_toolkit-3.0.41-py3-none-any.whl.metadata (6.5 kB)
Requirement already satisfied: pygments>=2.5.0 in /usr/lib/python3.12/site-packages (from radian) (2.15.1)
Collecting wcwidth (from prompt-toolkit<3.1,>=3.0.15->radian)
Using cached wcwidth-0.2.12-py2.py3-none-any.whl.metadata (14 kB)
Requirement already satisfied: cffi>=1.10.0 in /usr/lib64/python3.12/site-packages (from rchitect<0.5.0,>=0.4.3->radian) (1.15.1)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3.12/site-packages (from rchitect<0.5.0,>=0.4.3->radian) (1.16.0)
Requirement already satisfied: pycparser in /usr/lib/python3.12/site-packages (from cffi>=1.10.0->rchitect<0.5.0,>=0.4.3->radian) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.12/site-packages (from pycparser->cffi>=1.10.0->rchitect<0.5.0,>=0.4.3->radian) (3.11)
Using cached prompt_toolkit-3.0.41-py3-none-any.whl (385 kB)
Using cached wcwidth-0.2.12-py2.py3-none-any.whl (34 kB)
Building wheels for collected packages: rchitect
Building wheel for rchitect (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [57 lines of output]
/home/nishatjahan/.local/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/xptr.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/utils.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/types.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/setup.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/repl.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/py_tools.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/interface.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/dispatch.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/console.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/completion.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/callbacks.py -> build/lib.linux-x86_64-cpython-312/rchitect
copying rchitect/__init__.py -> build/lib.linux-x86_64-cpython-312/rchitect
creating build/lib.linux-x86_64-cpython-312/rchitect/reticulate
copying rchitect/reticulate/py_config.py -> build/lib.linux-x86_64-cpython-312/rchitect/reticulate
copying rchitect/reticulate/path.py -> build/lib.linux-x86_64-cpython-312/rchitect/reticulate
copying rchitect/reticulate/__init__.py -> build/lib.linux-x86_64-cpython-312/rchitect/reticulate
copying rchitect/reticulate/config.R -> build/lib.linux-x86_64-cpython-312/rchitect/reticulate
creating build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/process_events.h -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/process_events.c -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/parse.h -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/parse.c -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/libR.h -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/libR.c -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/gil.h -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/gil.c -> build/lib.linux-x86_64-cpython-312/rchitect/src
copying rchitect/src/R.h -> build/lib.linux-x86_64-cpython-312/rchitect/src
running build_ext
generating cffi module 'build/temp.linux-x86_64-cpython-312/rchitect._cffi.c'
creating build/temp.linux-x86_64-cpython-312
building 'rchitect._cffi' extension
creating build/temp.linux-x86_64-cpython-312/build
creating build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/rchitect
creating build/temp.linux-x86_64-cpython-312/rchitect/src
gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fPIC -Irchitect/src -I/usr/include/python3.12 -c build/temp.linux-x86_64-cpython-312/rchitect._cffi.c -o build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/rchitect._cffi.o
build/temp.linux-x86_64-cpython-312/rchitect._cffi.c:50:14: fatal error: pyconfig.h: No such file or directory
50 | # include <pyconfig.h>
| ^~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/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 rchitect
Running setup.py clean for rchitect
Failed to build rchitect
ERROR: Could not build wheels for rchitect, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered:
I am facing issues when installing radian. My system data are
OS: Fedora 39
Python Version: 3.12.0
Pip version: 23.3.1
R version: 4.3.2
I have tried multiple solutions and even used
chatgpt
. but there is no solution that could solve my problem. I am not expert in this field. So, your help would help me to solve the issue.But no Luck!
stack Trace was:
The text was updated successfully, but these errors were encountered: