Forums

[Errno 2] No such file or directory: '/proc/meminfo'

Any idea why i get this error ?

[Errno 2] No such file or directory: '/proc/meminfo'

It seems to work on colab google but not on python anywhere

plus it use to work on python anywhere but doesn't anymore

plus it use to work on python anywhere but doesn't anymore

Is this something you run from a console on PythonAnywhere? We do have an experimental feature that allows you to start a console using Docker, which will provide `/proc/meminfo' -- but it's not available from website code, or scheduled tasks. Our new always-on tasks do support it, though.

its a notebook ipynb

OK -- unfortunately that won't work on PythonAnywhere in notebooks. If it used to work, perhaps you were using an earlier version of whichever library is raising the error -- one that didn't have the dependency on /proc/meminfo? If so, you could try reverting back to that version.

i am having same issue while running in the console as well

What issue? What are you trying to do? What is the result?