Closed JoostGevaert closed 5 months ago
Dear @JoostGevaert ,
thanks a lot, great to hear 😄.
The installation problem you describe is indeed a bug - should not be necessary by default. @Leguark mentioned yesterday that it should be fixed today.
Kind regards and happy modeling!
Thanks for the quick reply, and great news that it'll be fixed soon!
Just encountered the same issue
pip install torch
solves the issue until it is fixed in the requirements.
It was a rogue import in the gempy engine. Just pushed a hotfix. Make sure to reinstall gempy_engine (v2024.1.4.1). Thanks for catching this up
Hi 👋 Amazing that it's now possible to use GemPy without the need for following complicated installation instructions, and that it's now also possible to run GemPy in Google Colabs! When I want to install GemPy with the recommended installation procedure
pip install gempy[base]
, and then try to import GemPy, I get a ModuleNotFoundError: No module namedtorch
, see Error Message below.To Reproduce Provide detailed steps to reproduce the behavior:
pip install gempy[base]
Expected behavior Import without issues. This works in Google Colab, because in Google Colab Torch from PyTorch is already installed by default.
Error message
Desktop (please complete the following information):
Additional context Add any other context about the problem here.