-
Notifications
You must be signed in to change notification settings - Fork 25
Description
I follow all the instructions given in installation webpage. http://sstmap.org/2019/12/06/getting-started/.
it return following Error.
running build_ext
building '_sstmap_ext' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/sstmap
gcc -pthread -B /home/debanjan/miniconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/debanjan/miniconda3/include -fPIC -O2 -isystem /home/debanjan/miniconda3/include -fPIC -I/home/debanjan/.local/lib/python3.10/site-packages/numpy/core/include -I/home/debanjan/miniconda3/include/python3.10 -c sstmap/_sstmap_ext.c -o build/temp.linux-x86_64-cpython-310/sstmap/_sstmap_ext.o
sstmap/_sstmap_ext.c:40:10: fatal error: gsl/gsl_linalg.h: No such file or directory
40 | #include <gsl/gsl_linalg.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
As mentioned to use GCC 7. I tried to install GCC G+=7 fut failed its not available.
**conda install -c conda-forge gcc=7
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- gcc=7
Current channels:
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.**
tried to install using sudo apt install gcc g++7
but package not found.
i tried conda install -c solvationtools sstmap
but its failed to install sstmap.
**sstmap) debanjan@debanjan:~/Downloads/SSTMap$ conda install -c solvationtools sstmap
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- sstmap -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0']
Your python: python=3.6
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.35=0
- feature:|@/linux-64::__glibc==2.35=0
- sstmap -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.35**
Please assist me how to resolve the issue.