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

Rdkit error #2

Open
HamzaShaikh17 opened this issue Jul 15, 2021 · 1 comment
Open

Rdkit error #2

HamzaShaikh17 opened this issue Jul 15, 2021 · 1 comment

Comments

@HamzaShaikh17
Copy link

I am running example code snippet that throws an error

(base) hamza@mac Documents % ruby chem.rb
Traceback (most recent call last):
2: from chem.rb:1:in <main>' 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- chem_scanner (LoadError) 8: from chem.rb:1:in

'
7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in require' 6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in rescue in require'
5: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in require' 4: from /Library/Ruby/Gems/2.6.0/gems/chem_scanner-0.1.3/lib/chem_scanner.rb:2:in <top (required)>'
3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' 2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
1: from /Library/Ruby/Gems/2.6.0/gems/rdkit_chem-2019.03.3.1/lib/rdkit_chem.rb:1:in <top (required)>' /Library/Ruby/Gems/2.6.0/gems/rdkit_chem-2019.03.3.1/lib/rdkit_chem.rb:1:in require_relative': cannot load such file -- /Library/Ruby/Gems/2.6.0/gems/rdkit_chem-2019.03.3.1/rdkit/Code/lib/RDKitChem (LoadError)

After getting this error I have tried to install dependent rdkit library by following command:

gem install rdkit_chem

But it still throwing the same error

is there any solution?

@CamAnNguyen
Copy link
Collaborator

Hi @hs1s, the chem_scanner gem is using rdkit_chem gem, therefore it requires dependencies of rdkit_chem. Could you please install the required package listed here and reinstall the gem?

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

2 participants