-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: /../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found #366
Comments
I have a similar problem, and my error message is |
I encounter the same issues. Anyone solve this? |
Same issue. |
I encountered a similar issue while using Python 3.8.20 on Ubuntu 22.04, but everything worked seamlessly when I switched to Python 3.10. |
I have solved this problem in Ubuntu, miniconda3. First, you need to check whether your system has the correct version of "GLIBCXX". You can do this by running:
This should display a list of GLIBCXX versions. You need to check whether you have GLIBCXX 3.4.30. If it exists, you can proceed to the next step. Otherwise you probably need to update your system. Next, check what's wrong with your conda environment by running:
In my case, conda only has GLIBCXX 3.4.29. This is why it doesn't work. We then need to link the library. We can run:
After doing this, the engine can be compiled. (For me, I need to run "pip install six" before it works). Other problems you might encounterHere are other information you might need. This package is old, so we need to install older version of gym. To do this, we need the older versioins of pygame, pip and setuptools. Try running:
|
who solved it? please guide me :( |
Environment:
Reproduce:
And then I get the error below:
I've tried methods suggested in 'GLIBCXX_3.4.30' not found for librosa in conda virtual environment (after trying out a lot of solutions)?, Anaconda ImportError: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.21 not found:
conda install -c conda-forge libstdcxx-ng=12
andconda install -c conda-forge libstdcxx-ng
, respectively.However, I get another error:
Would you please help me solve the problem? Thanks!
The text was updated successfully, but these errors were encountered: