Hello,
I am trying to run the command ./polymer_cli.py <level1> <level2> command I get error:
File "./polymer_cli.py", line 11, in <module>
from polymer.main import run_atm_corr, Level1, Level2
File "/polymer/main.py", line 8, in <module>
from polymer.luts import read_mlut_hdf, Idx
File "/polymer/luts.py", line 20, in <module>
from scipy.interpolate import interp1d
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/interpolate/__init__.py", line 175, in <module>
from .interpolate import *
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/interpolate/interpolate.py", line 32, in <module>
from .interpnd import _ndim_coords_from_arrays
File "interpnd.pyx", line 1, in init scipy.interpolate.interpnd
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/spatial/__init__.py", line 98, in <module>
from .kdtree import *
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/spatial/kdtree.py", line 8, in <module>
import scipy.sparse
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/sparse/__init__.py", line 231, in <module>
from .csr import *
File "/miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/sparse/csr.py", line 15, in <module>
from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
ImportError: /miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/special/../../../../libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /miniconda/envs/vir_env/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so)
I have installed all the dependencies using the following commands:
sh install-anaconda-deps.sh
make auxdara_all
make
However, I am unable to run the algorithm. Can someone please suggest something?
Best,
npal
Polymer installation
- LaurentWandrebeck
- Site Admin
- Posts: 20
- Joined: Fri Sep 07, 2018 1:07 pm
- company / institution: HYGEOS
Re: Polymer installation
Hello npal,
Could you tell me:
Hope that helps.
Could you tell me:
- OS used and its version
- gcc/g++ version used (gcc --version and g++ --version)
Hope that helps.
Laurent Wandrebeck
IT Manager
IT Manager
Re: Polymer installation
Hi Laurent,
My OS is Linux and the gcc version is 4.8.5.
Best,
npal
My OS is Linux and the gcc version is 4.8.5.
Best,
npal
- LaurentWandrebeck
- Site Admin
- Posts: 20
- Joined: Fri Sep 07, 2018 1:07 pm
- company / institution: HYGEOS
Re: Polymer installation
Hi npal,
So I guess you’re using CentOS (or RHEL, or Scientific Linux) 7.x.
Do you have installed some redhat devtoolset or any other gcc version that could have been used during installation of polymer ?
The error message looks like there were some heavily modified environment used during installation process.
Hope that helps,
So I guess you’re using CentOS (or RHEL, or Scientific Linux) 7.x.
Do you have installed some redhat devtoolset or any other gcc version that could have been used during installation of polymer ?
The error message looks like there were some heavily modified environment used during installation process.
Hope that helps,
Laurent Wandrebeck
IT Manager
IT Manager
- fsteinmetz
- Site Admin
- Posts: 314
- Joined: Fri Sep 07, 2018 1:34 pm
- company / institution: Hygeos
- Location: Lille, France
- Contact:
Re: Polymer installation
Dear Npal,
In case you are still stuck on this issue, you could maybe try installing an envionment with python3, which is recommended anyway over python2 (and I realize that I should update the installation script to more explicitly create an environement with python3). For that, just use the following command to create the new environment (replace <envname> by the name of your choice) :
Then you can use the script
Cheers,
François
In case you are still stuck on this issue, you could maybe try installing an envionment with python3, which is recommended anyway over python2 (and I realize that I should update the installation script to more explicitly create an environement with python3). For that, just use the following command to create the new environment (replace <envname> by the name of your choice) :
Code: Select all
conda create -n <envname> python=3
install-anaconda-deps.sh
as you did previously.Cheers,
François