Hi Kazu

You need to restart runtime, then the import statement will work

If you don’t need the very latest version you can also use
!time conda install -q -y -c conda-forge rdkit=2020.09.02

The following is much faster than a conda install but currently that only gives 
you 2020.03
!pip install kora
import kora.install.rdkit

Best regards, Jan

On 22 Dec 2020, at 14.05, kishikir...@nifty.com<mailto:kishikir...@nifty.com> 
wrote:

Dear All,


I was able to use RDKit with Google Colaboratory until December 13th, but
on December 20th I got the following message and could not use it.

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

When I checked with
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX,
the result was as follows.

GLIBCXX_3.4
GLIBCXX_3.4.1
%
GLIBCXX_3.4.25
GLIBCXX_DEBUG_MESSAGE_LENGTH

So I executed the following:

%%bash
add-apt-repository ppa:ubuntu-toolchain-r/test -y
apt-get update
apt-get install gcc-4.9
apt-get upgrade libstdc++6

Again, when I checked with
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX,
the result was as follows.

GLIBCXX_3.4
GLIBCXX_3.4.1
%
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_DEBUG_MESSAGE_LENGTH

However, I still get the same error when importing RDKit, although 
GLIBCXX_3.4.26
is installed.

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

Currently, I cannot use RDKit.
I would be grateful if you could give me a hint as to how to solve it.

Best regards, Kazu


_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net<mailto:Rdkit-discuss@lists.sourceforge.net>
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Frdkit-discuss&amp;data=04%7C01%7Cjhjensen%40chem.ku.dk%7C31194e36b7e442cd9fbf08d8a67ccfe3%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637442402421271640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=YWV1mJw69EOVdGXQ%2FvHQ87M863dKRrJxflWSSOMmaz0%3D&amp;reserved=0

_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to