The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Python Modules

2 replies Last reply

  1. I'm trying to use a custom python module that I have installed in my local python env, but nodebox is unable to locate it. How do I install python modules so they will be visible to nodebox?

    Thanks!
    -Mark

    I'm on OSX, trying to us pymongo installed via pip and getting:
    ImportError: No module named pymongo

    Copy link
  2. NodeBox team

    NodeBox 3 uses Jython which has its own package path. However, you can "install" a Python module by just including the package together with your Python script.

    Only pure-Python libraries are supported though; Python libraries with a native C component are not supported. I think pymongo will work, but the native speedups won't.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply