geo-deep-learning
geo-deep-learning copied to clipboard
BUG: Version Issue
Description An import error arises when attempting to run the code.
"ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/anaconda3/envs/geo_deep_env/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-310-x86_64-linux-gnu.so)"
Steps To Reproduce
- Clone the repository
- cd geo-deep-learning
- conda env create -f environment.yml
- Wait for environment to finish installing
- conda activate geo_deep_env
- python GDL.py mode=training (or tiling or inference)
Expected behavior The code should run without issue.
Environment Details
- Operating System: Ubuntu 20.04.6 LTS
- Conda Version: 22.9.0
Hi,
I had the same problem and it was solved by exporting the library path of the current Conda environment :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/
It seems linked to the pandas library. If @LucaRom solution doesn't work, you can try to reinstall the package from your environment.
conda remove pandas
conda install pandas -c conda-forge
@Hi-Chem246 I'm closing the issue, let us know if our solution did not help you.