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

[BUG] - incompatible freesasa version with python 3.12 (see #13) #14

Open
nchenche opened this issue Nov 26, 2023 · 0 comments
Open

[BUG] - incompatible freesasa version with python 3.12 (see #13) #14

nchenche opened this issue Nov 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nchenche
Copy link
Collaborator

Description

Install of surfmap won't work with python 3.12 because of freesasa 2.1.0 incompatible

Command

python -m pip install --use-pep517 -e git+https://github.com/i2bc/SURFMAP.git@v2.0.0#egg=surfmap

Error

...
clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/atanasradkov/opt/anaconda3/envs/surfmap/include -fPIC -O2 -isystem /Users/atanasradkov/opt/anaconda3/envs/surfmap/include -Ilib/src -I. -I/Users/atanasradkov/opt/anaconda3/envs/surfmap/include/python3.12 -c src/freesasa.c -o build/temp.macosx-10.9-x86_64-cpython-312/src/freesasa.o -DHAVE_CONFIG_H -std=gnu99
src/freesasa.c:236:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' 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 freesasa
Successfully built surfmap
Failed to build freesasa
ERROR: Could not build wheels for freesasa, which is required to install pyproject.toml-based projects

Solution

Change freesasa version in setup.py file: from 2.1.0 to 2.2.1

@nchenche nchenche added the bug Something isn't working label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant