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

25 May, 2024 11:52 AM
24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
16 May, 2024 01:58 AM
14 May, 2024 01:29 AM

 

13 May, 2024 12:36 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM
03 May, 2024 12:30 AM
03 May, 2024 12:09 AM