Giter Club home page Giter Club logo

Comments (3)

kdpan avatar kdpan commented on August 15, 2024

If import torch.utils.data first, it will mistake.
If import rdkit first, it will not mistake.

(atom3d) [panfulu@localhost cnn3d ]$python
Python 3.6.13 |Anaconda, Inc.| (default, Jun 4 2021, 14:25:59)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from torch.utils.data import Dataset
from rdkit import Chem
Traceback (most recent call last):
File "", line 1, in
File "/home/panfulu/anaconda3/envs/atom3d/lib/python3.6/site-packages/rdkit/Chem/init.py", line 18, in
from rdkit import DataStructs
File "/home/panfulu/anaconda3/envs/atom3d/lib/python3.6/site-packages/rdkit/DataStructs/init.py", line 13, in
from rdkit.DataStructs import cDataStructs
ImportError: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /home/panfulu/anaconda3/envs/atom3d/lib/python3.6/site-packages/rdkit/DataStructs/../../../../libRDKitDataStructs.so.1)
exit()
(atom3d) [panfulu@localhost cnn3d ]$python
Python 3.6.13 |Anaconda, Inc.| (default, Jun 4 2021, 14:25:59)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
from rdkit import Chem
from torch.utils.data import Dataset
exit()

from atom3d.

martinvoegele avatar martinvoegele commented on August 15, 2024

Hi, thanks for reporting this!

I use RDKit 2021.03.4 and PyTorch 1.9.0 with Python 3.6.13 and can import them either way.

from atom3d.

martinvoegele avatar martinvoegele commented on August 15, 2024

I'm closing this issue.
Feel free to reopen it if anything has remained unclear or raise a new issue if something else comes up.

from atom3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.