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

regarding to installation #22

Open
kawito opened this issue Mar 1, 2024 · 5 comments
Open

regarding to installation #22

kawito opened this issue Mar 1, 2024 · 5 comments

Comments

@kawito
Copy link

kawito commented Mar 1, 2024

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
Copy link
Member

Kevinzjy commented Mar 1, 2024

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
Copy link
Author

kawito commented Mar 5, 2024

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
Copy link
Author

kawito commented Mar 14, 2024

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
Copy link
Member

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
Copy link
Author

kawito commented Mar 22, 2024

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

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