Open jiananwehi opened 8 months ago
Hi @jiananwehi . As I replied in https://github.com/lilab-bcb/demuxEM/issues/17, could you please check the version of GCC compiler in your system? Thanks!
Although not listed, I could confirm that pegasusio could be installed in Python 3.12 environment.
Based on https://stackoverflow.com/questions/20326604/stdatomic-h-in-gcc-4-8, it seems the issue with "stdatomic.h" file missing was fixed for GCC v4.9+.
I tried to install pegasusio by following commands: git clone https://github.com/lilab-bcb/pegasusio.git cd pegasusio pip install -e .
The following shows errors: building 'pegasusio.cylib.funcs' extension creating /tmp/tmp1jxpsjv9.build-temp/ext_modules gcc -std=gnu11 -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/stornext/Bioinf/data/lab_speed/wang.j/python_package/myenv/include -I/stornext/System/data/apps/python/python-3.12.0/include/python3.12 -c ext_modules/fast_funcs.c -o /tmp/tmp1jxpsjv9.build-temp/ext_modules/fast_funcs.o ext_modules/fast_funcs.c:1517:27: fatal error: stdatomic.h: No such file or directory
include
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building editable for pegasusio Failed to build pegasusio ERROR: Could not build wheels for pegasusio, which is required to install pyproject.toml-based projects