PMunch / nim-playground-frontend

The front-end for https://play.nim-lang.org
45 stars 16 forks source link

/usercode/in.nim(2, 8) Error: cannot open file: glm #37

Closed adammaj1 closed 10 months ago

adammaj1 commented 10 months ago

I have a nim code from what-every-coder-should-know-about-gamma. WHen I try to run it in the playgraund it gives an error :

/usercode/in.nim(2, 8) Error: cannot open file: glm

The glm module is in github

How can I solve it ?

PMunch commented 10 months ago

Unfortunately the answer to this would be to install Nim properly on your machine. The playground is just intended to let people try out the features of the language or play around with simple scripts. It does have a list of packages installed but GLM isn't one of those. The code executing on the playground doesn't have any internet either, so there'd be no way to install new packages on the fly either.