SUSTechGameAI / GVGAI_GYM

Apache License 2.0
11 stars 7 forks source link

Fix problem when test baseline #3

Open HawkTom opened 4 years ago

HawkTom commented 4 years ago

When you test the baseline algorithm using pytest command. You may find the following error:

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/conda/lib/python3.7/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-37m-x86_64-linux-gnu.so)

Solution: You can execute the following commands:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update -y
sudo apt upgrade -y

If there's no add-apt-repository, you can execute the command apt-get install software-properties-common first, and then execute the above commands.