question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TorchDrug for Ubuntu 18.04 without Anaconda

See original GitHub issue

What is the simplest way to install it with pip on Ubuntu 18.04 please?

I have successfully installed all requirements, however, it can’t find the RDKit:

ModuleNotFoundError: No module named 'rdkit'

To install it, I used: sudo apt-get install python-rdkit librdkit1 rdkit-data as per RDKit

Any ideas, how to run this awesome library without Anaconda please?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
rmurphy2718commented, Aug 13, 2021

I also encountered installation issues and wrote a blog post on the steps that eventually let me install. https://rmurphy2718.github.io//posts/2021/08/torch-drug-install/

I used conda, but mostly pip calls from within my conda env. So, I think you should be able to adapt my solution.

I am sure the devs will streamline the installation process. But, for now, we can use these steps to dig into the repo, learn about it, and continue to iron out kinks!

3reactions
KiddoZhucommented, Aug 13, 2021

FYI. I use PyTorch 1.8.1 (py3.7_cuda10.2_cudnn7.6.5_0) from conda, and there is no complaint about container_abcs.

TorchDrug just slightly depends on container_abcs. We will refactor this part to make sure it is compatible with newer PyTorch versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - TorchDrug 0.2.0 documentation
First, let's install PyTorch. pip3 install torch. To install torch-scatter , we need to check the version of PyTorch and CUDA.
Read more >
A Guide to Installing TorchDrug 0.1.0 (CPU) and Using with ...
A Guide to Installing TorchDrug 0.1.0 (CPU) and Using with Jupyter Lab. Published: August 12, 2021. TorchDrug, a platform for drug discovery ...
Read more >
Ubuntu 18.04: Install TensorFlow and Keras for Deep Learning
Inside this tutorial you will learn how to configure your Ubuntu 18.04 machine for deep learning with TensorFlow and Keras.
Read more >
typeerror: metaclass conflict: the metaclass of a derived class ...
I find the 2 lines related to self.TopTitle useless and I do not understand what you are trying to achieve with them (besides,...
Read more >
torchdrug - PyPI
TorchDrug is a PyTorch-based machine learning toolbox designed for several ... You can get the desired molecule properties without any domain knowledge.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found