NodeBox Import error unable to find module random (line 2 of

martin's Avatar


18 Mar, 2015 01:21 PM

Hi everybody,

on a clean download of NodeBox, every time I add a new polygon to my network, NodeBox application returns an error: unable to import random for the file at line 2 : from random import seed as _seed , uniform .

Now I know this is an UGLY hack, but I found a work around:
I unzipped the in Java.lib
I added the following 2 lines to at the very beginning of the file:
import sys

Now I am able to use polygons.

Enjoy Noding,


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Mar, 2023 09:43 PM
23 Mar, 2023 09:24 AM
21 Mar, 2023 11:00 AM
21 Mar, 2023 09:32 AM
21 Mar, 2023 04:46 AM


12 Mar, 2023 03:02 AM
11 Mar, 2023 02:11 AM
10 Mar, 2023 06:47 AM
10 Mar, 2023 12:46 AM
02 Mar, 2023 08:49 PM
27 Feb, 2023 01:29 PM