No module named random

Jean's Avatar

Jean

01 Jul, 2015 02:01 PM

Mac os X Yosemite

Hi there,
I try to connect a Textpath node to a scatter node like in this video :
https://vimeo.com/54523012
But, each time I activate the scatter node i've got this message : "No module named random"
Could you help me please ?
Thx

  1. Support Staff 1 Posted by lucasnijs on 02 Jul, 2015 01:51 PM

    lucasnijs's Avatar

    Which version are you using? Can you post your file?

  2. 2 Posted by Jean on 02 Jul, 2015 02:50 PM

    Jean's Avatar

    I use the version 3.0.43 for Mac
    I join the file.

    The error message is :
    Traceback (most recent call last):
      File "/Applications/NodeBox.app/Contents/Java/libraries/corevector/pyvector.py", line 2, in <module>
        from random import seed as _seed, uniform
    ImportError: No module named random

    at org.python.core.Py.ImportError(Py.java:296)
    at org.python.core.imp.import_first(imp.java:774)
    at org.python.core.imp.import_module_level(imp.java:856)
    at org.python.core.imp.importName(imp.java:936)
    at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
    at org.python.core.PyObject.__call__(PyObject.java:373)
    at org.python.core.__builtin__.__import__(__builtin__.java:1231)
    at org.python.core.imp.importFromAs(imp.java:1030)
    at org.python.core.imp.importFrom(imp.java:1006)
    at org.python.pycode._pyx0.f$0(/Applications/NodeBox.app/Contents/Java/libraries/corevector/pyvector.py:1111)
    at org.python.pycode._pyx0.call_function(/Applications/NodeBox.app/Contents/Java/libraries/corevector/pyvector.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:165)
    at org.python.core.PyCode.call(PyCode.java:18)
    at org.python.core.Py.runCode(Py.java:1302)
    at org.python.core.__builtin__.execfile_flags(__builtin__.java:518)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225)
    at nodebox.function.PythonLibrary$1.call(Unknown Source)
    at nodebox.function.PythonLibrary$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.java:745)

  3. Support Staff 3 Posted by Frederik De Ble... on 30 Jul, 2015 10:24 AM

    Frederik De Bleser's Avatar

    That's weird -- the file has no issues here. Do you have a special version of Python installed by any chance?

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

Generic

? 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

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM