DiffEqML / torchdyn

A PyTorch library entirely dedicated to neural differential equations, implicit models and related numerical methods
https://torchdyn.org
Apache License 2.0
1.35k stars 125 forks source link

Installation problem on Colab #123

Closed mrpositron closed 2 years ago

mrpositron commented 2 years ago

Could not install torchdyn on colab

Step to Reproduce

Steps to reproduce the behavior:

  1. Go to 'colab'
  2. Run !pip install torchdyn
  3. See the following error:
    ERROR: Could not find a version that satisfies the requirement torchdyn (from versions: none)
    ERROR: No matching distribution found for torchdyn

Expected behavior To be able to install torchdyn properly.

Screenshots

image

Additional context

Zymrael commented 2 years ago

This should be because torchdyn requires ver. 3.8+ of Python and Colab runs on older versions by default. I'd suggest installing a 3.8 kernel on a Colab machine and then try to pip install again. Most of the package should work with 3.6+ as well, so you can also install directly after cloning the repo if changing Python version is not a possibility.

mrpositron commented 2 years ago

Okay. Got it. Thanks!