No module named random
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
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
Support Staff 1 Posted by lucasnijs on 02 Jul, 2015 01:51 PM
Which version are you using? Can you post your file?
2 Posted by Jean on 02 Jul, 2015 02:50 PM
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)
Support Staff 3 Posted by Frederik De Ble... on 30 Jul, 2015 10:24 AM
That's weird -- the file has no issues here. Do you have a special version of Python installed by any chance?