bioinfo-biols / CIRI-long

Circular RNA Identification for Nanopore Sequencing
https://ciri-cookbook.readthedocs.io
MIT License
17 stars 5 forks source link

regarding to installation #22

Open kawito opened 6 months ago

kawito commented 6 months ago

I am installing: git clone https://github.com/bioinfo-biols/CIRI-long.git CIRI-long

It worked before when I was analyzing last June.

Today, it says "error" at this step. Are there any helps for this problem?

Thank you for your help.

Collecting pyspoa>=0.0.5 Using cached pyspoa-0.2.1.tar.gz (52 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: pyspoa Building wheel for pyspoa (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for pyspoa (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [39 lines of output] running bdist_wheel running build running build_ext -- The CXX compiler identification is GNU 4.8.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB: Found unsuitable version "1.2.7", but required is at least "1.2.8" (found /usr/lib64/libz.so, ) Call Stack (most recent call first): /tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE) /tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindZLIB.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) build/_deps/bioparser-src/CMakeLists.txt:22 (find_package)

Kevinzjy commented 6 months ago

Hi @kawito , you could first install pyspoa 0.05 by running pip install pyspoa==0.0.5, then try to install CIRI-long again.

kawito commented 6 months ago

Thank you for your comment. But I got an error message.

$ pip install pyspoa==0.0.5 ERROR: Could not find a version that satisfies the requirement pyspoa==0.0.5 (from versions: 0.0.6, 0.0.7, 0.0.8a0, 0.0.8, 0.1.0, 0.2.0, 0.2.1) ERROR: No matching distribution found for pyspoa==0.0.5

kawito commented 5 months ago

Could you update version of pypsoa? Thank you for your help.

cjw85 commented 14 hours ago That is an issue for CIRI-long to solve. I think your issue here is that for v0.0.5 there is no Package available for newer versions of Python. CIRI-long should update the version of pyspoa they are using.

Kevinzjy commented 5 months ago

This is not a problem with CIRI-long. CIRI-long can use pyspoa version >= 0.05, but your error means that you cannot compile the latest version of pyspoa because ZLIB 1.2.8 is missing.

Collecting pyspoa>=0.0.5
Using cached pyspoa-0.2.1.tar.gz (52 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyspoa
Building wheel for pyspoa (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pyspoa (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
running bdist_wheel
running build
running build_ext
-- The CXX compiler identification is GNU 4.8.5
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ZLIB: Found unsuitable version "1.2.7", but required is at
least "1.2.8" (found /usr/lib64/libz.so, )
Call Stack (most recent call first):
/tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
/tmp/pip-build-env-odbh3g96/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.28/Modules/FindZLIB.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
build/_deps/bioparser-src/CMakeLists.txt:22 (find_package)

All you need to do is use an older version of pyspoa that is compatible with ZLIB 1.2.7, any version between 0.05-0.2.1 should be fine. Or you have to update your zlib dependencies to install latest version of pyspoa.

kawito commented 5 months ago

Thank you for your suggestion. We were able to install CIRI-long.