pytorch-arm-builds icon indicating copy to clipboard operation
pytorch-arm-builds copied to clipboard

ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found

Open KopiSoftware opened this issue 5 years ago • 5 comments

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

KopiSoftware avatar Sep 13 '19 04:09 KopiSoftware

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.

sungjuGit avatar Nov 09 '19 20:11 sungjuGit

@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.

fztfztfztfzt avatar Dec 20 '19 11:12 fztfztfztfzt

Sorry, I don’t currently have the wheel files for Pytorch 1.3. There might be ones on the internet somewhere.

What happens if you change the requirements (pytorch > 1.3.0) and try to install pysyft with pytorch 1.4? I don’t know whether there are breaking changes from 1.3 to 1.4.


From: Polaris Feng [email protected] Sent: Friday, December 20, 2019 3:44:11 AM To: nmilosev/pytorch-arm-builds [email protected] Cc: Sungtaek [email protected]; Mention [email protected] Subject: Re: [nmilosev/pytorch-arm-builds] ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (#7)

@KopiSoftwarehttps://github.com/KopiSoftware Hello, I had the same problem. Have you solved this problem?

@sungjuGithttps://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/nmilosev/pytorch-arm-builds/issues/7?email_source=notifications&email_token=AMG6475DHMTIJAWQQEVZB5DQZSVYXA5CNFSM4IWL6KZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHMW57Y#issuecomment-567897855, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMG647Z24WHPH7KCULLUHCLQZSVYXANCNFSM4IWL6KZA.

sungjuGit avatar Dec 20 '19 20:12 sungjuGit

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,

daixiangzi avatar Jan 30 '20 10:01 daixiangzi

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 ?

Jngwl avatar Apr 15 '20 15:04 Jngwl