geo-deep-learning icon indicating copy to clipboard operation
geo-deep-learning copied to clipboard

BUG: Version Issue

Open Hi-Chem246 opened this issue 1 year ago • 2 comments

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

  1. Clone the repository
  2. cd geo-deep-learning
  3. conda env create -f environment.yml
  4. Wait for environment to finish installing
  5. conda activate geo_deep_env
  6. 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-Chem246 avatar Jan 16 '24 16:01 Hi-Chem246

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/

LucaRom avatar Jan 16 '24 17:01 LucaRom

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

mpelchat04 avatar Jan 16 '24 17:01 mpelchat04

@Hi-Chem246 I'm closing the issue, let us know if our solution did not help you.

mpelchat04 avatar Apr 04 '24 13:04 mpelchat04