Installing additional Frameworks/en

From expecco Wiki (Version 2.x)
Jump to navigation Jump to search

Node Installation[edit]

Goto [ https://nodejs.org/de/download/ ] and select the appropriate package for your machine. When asked if additional packages are to be downloaded, answer "yes". Then VisualStudio build tools will also be installed, in case any node module will need to be compiled from C/C++ code.

Open the expecco node interpreter Settings ("Extras" → "Settings" → "Execution" → "External Script Interpreters" → "Node") and verify that the "node" command is found along your PATH variable settings (click on the "?"-button).

If not found, either restart expecco (if you installed node while expecco was active), or enter the path to your node interpreter into the path field.

Python Installation[edit]

Goto [ https://www.python.org/downloads/ ] and select the appropriate package for your machine. Notice, that there are both packages for python3 and python2.7 available, and you may have to install both, depending on the python Code to be executed later.

Open the expecco node interpreter settings ("Extras" → "Settings" → "Execution" → "External Script Interpreters" → "Python") and verify that the "python" command is found along your PATH variable settings (click on "?").

If not found, either restart expecco (if you installed python while expecco was active), or enter the full path to your python interpreter into the path field.

Make sure that the correct python version is displayed (2.x vs. 3.x).

PythonSettings

Jython Installation[edit]

As a prerequisite, Java needs to be installed on your machine. Then goto [ https://www.jython.org/download.html ], download the Jython installer and run it. If the "jython" command is not in your PATH, enter its full path in the settings dialog.
Notice that jython is a 2.x Python (at the time of writing).

Iron Python Installation[edit]

As a prerequisite, you'll need a .NET CLR (common language runtime) or mono (on Unix systems). On Windows systems, a reasonable CLR Version is usually already installed. Then go to [ https://ironpython.net/download/ ] and follow the instructions. After download, IronPython is typically installed in "C:\Program Files\IronPython 2.x", and you should enter the path "C:\Program Files\IronPython 2.x\ipy.exe" into the IronPython command path field in the python settings dialog (or simply "ipy", if it is in your PATH).
Notice that IronPython as found in the above link is a 2.x Python (at the time of writing), whereas the IronPython provided with Mono might be a 3.x Python.

C Compiler Toolchain Installation[edit]

You need a C-compiler toolchain to be installed for C-coded actions. With Unix/Linux systems, these are usually already present on the machine (try "cc --Version" in a shell window). With OSX, you have to install "XCode" or the "Command Line Tools" subset. With Windows, install one of "Borland", "VisualC", "VisualC Redistributable" or "MingGW". We recommend MingGW.

If you get compilation errors, take a look at the "compile_xxx" scripts in the "exept/expecco/bridgeFramework/cBridge/cLibrary" folder under the expecco installation folder. If required, add your own script to call whatever compiler you need, and select it in the cBridge settings dialog ("Extras" → "Settings" → "Execution" → "Bridges" → "CBridge").



Copyright © 2014-2020 eXept Software AG