Article ID: 1072 - Last Modified: June 21, 2011
How can I use my own Python libraries with the Schrödinger Python API in Python-based KNIME nodes?
Simply set the PYTHONPATH environment variable to include the directories that have the Python libraries you wish to include. On Linux, you can set this on the command line before you run $SCHRODINGER/knime, or set it in your shell startup script. For instructions on setting environment variables on Windows, see Appendix A of the Installation Guide. Once you have the PYTHONPATH environment variable set, the Python scripts used in KNIME will allow Python libraries to be imported from those directories.
Keywords: KNIME, python, scripting,
Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles

