Hmm. It's always reproducible here. However: I am running Jython embedded inside my own application.

And (just checked), from inside the jython command line wrapper, "import random" works just fine.

Yikes. The application is open source ( but it's going to put everybody a long way from any bug inside Jython. I'll start taking a closer look and report back.