devitocodes / devito

DSL and compiler framework for automated finite-differences and stencil computation
http://www.devitoproject.org
MIT License
536 stars 221 forks source link

devito in colab #2358

Open vahid-honarbakhsh opened 2 months ago

vahid-honarbakhsh commented 2 months ago

Hi,

Recently, it gives this error when installing Devito in Colab.

"Collecting devito Downloading devito-4.8.4.tar.gz (694 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 694.6/694.6 kB 9.8 MB/s eta 0:00:00 error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip."

What should be done to solve this problem?

Regards,

georgebisbas commented 1 month ago

Hi Vahid, indeed, there was an issue specifically with devito==4.8.4 that was fixed in 4.8.5. See changelog: https://github.com/devitocodes/devito/compare/v4.8.4...v4.8.5

You can try the latest versions, and it should work fine.

Let us know if it works for you