I have a problem installing Monty. I’m not from a technical background, so a friend sent me some code to run on Google Colab.
The installation code ran successfully, but after running the first tutorial I still get errors. How can I fix this? Should I use a different development environment such as VS Code (which I’m not familiar with) if I’m on Windows?
From Monty’s documentation, it doesn’t support Windows yet. But you can make it work.
I have Windows 11, and got Monty to work on my system. (With WSL)
It’s basically a virtual machine. But compared to normal virtual machines which are slow, WSL is embedded directly into the core Windows system - so it’s very fast. So you can run Ubuntu or any other Linux OS directly in your Windows 11.
Basically you will have the Windows OS interface, but you will have a command line that is running Ubuntu. And you will have a shared mounted folder between the Ubuntu system running in WSL and your Windows system. So you can put the code in this shared folder between systems, then you can use any code editor you like in Windows to edit the code. And you’ll run the code from the Ubuntu command line.
You’ll want WSL2 and Windows 11.
Even in this setup, you might run into some Monty errors saying things like missing GL or CUDA libraries, but I’ve found that it’s just a matter of installing the correct packages with sudo apt install to install the correct libraries to fix the errors.
If you managed to run a benchmark, mind sharing your version numbers for Ubuntu and nvidia-smi? On my end I got Ubuntu 24.04.1 LTS with NVIDIA-SMI 575.64.03 Driver Version: 576.88 CUDA Version: 12.9. Maybe it’s just a version mismatch between my Windows and Linux drivers.
Hello @AdamLD , I have installed WSL put still get the same error (No module named ‘tbp’) when I run the code of the first tutorial as in the Colab link in the first comment. So is the error from the code on the first tutorial itself? How to fix that?
It’s difficult to tell what the problem is with so little data. No module named “tbp” sounds like the conda or pip commands were not run from the steps mentioned in the Monty documentation.
But I’m not sure.
Have you tried using a tool like ChatGPT to help you debug? If you copy & paste the errors you are getting I think you’ll find it very helpful in solving the problem.
That’s a much faster way to debug, compared to posting here where people might only have time to reply only once a day or a few days.