Skip to content
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: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found #7

Open
KopiSoftware opened this issue Sep 13, 2019 · 5 comments

Comments

@KopiSoftware
Copy link

After "no module named torch._c' problem,I got a new error.
ImportError: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.26 not found
Then I listed all the dependencies in the file but there is no GLIBCXX_3.4.26.The latest file is 3.4.25.What should I do?
GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.3.4 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH

By the way, the solution of 'torch._c' problem is that change the name of .so file
cp _C.cpython-37m-arm-linux-gnueabi.so _C.so

@sungjuGit
Copy link

I have created wheel files for pytorch 1.4.0 and pytorch vision 0.5.0 directly on a Raspberry Pi 4B running Raspbian Buster.

https://github.com/sungjuGit/Pytorch-and-Vision-for-Raspberry-Pi-4B

I could install them on a different Raspberry Pi 4B without any problem. If you encounter any error, be sure to update OS/packages (sudo apt update && sudo apt upgrade) and install all dependencies for pytorch and pytorch vision.

@fztfztfztfzt
Copy link

@KopiSoftware Hello, I had the same problem. Have you solved this problem?

@sungjuGit I had tried your repo and I can install pytorch 1.4.0 on my respberry pi. It works very well. But I want to install pysyft and it need pytorch==1.3.0. Do you have .whl file of pytorch 1.3.0? Thank you.

@sungjuGit
Copy link

sungjuGit commented Dec 20, 2019 via email

@daixiangzi
Copy link

After "no module named torch._c' problem,I got a new error.
ImportError: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.26 not found
Then I listed all the dependencies in the file but there is no GLIBCXX_3.4.26.The latest file is 3.4.25.What should I do?
GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.3.4 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH

By the way, the solution of 'torch._c' problem is that change the name of .so file
cp _C.cpython-37m-arm-linux-gnueabi.so _C.so

now, i meet same problem,

@Jngwl
Copy link

Jngwl commented Apr 15, 2020

After "no module named torch._c' problem,I got a new error.
ImportError: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.26 not found
Then I listed all the dependencies in the file but there is no GLIBCXX_3.4.26.The latest file is 3.4.25.What should I do?
GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.3.4 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH
By the way, the solution of 'torch._c' problem is that change the name of .so file
cp _C.cpython-37m-arm-linux-gnueabi.so _C.so

now, i meet same problem,
Hi~I also meet the same problem,have you solved it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants