Ticket #1199 (new bug)

Opened 22 months ago

Orange wickets within java

Reported by: sjaakvw Owned by: sjaakvw
Milestone: 2.5 Component: library
Severity: minor Keywords: wickets java import
Cc: Blocking:
Blocked By:

Description

I want to use a couple of orange wickets within Java. I have tried to use PyInterpreter to access een Orange python script (OWDataSampleA.py) but every time i got messages like "cannot import name orange" when is it trying to interpret 'from . import orange' C:\Python27\Lib\site-packages\Orange\init.py line 5. I think it has something to do with the pyd file which it can't read or find. The PYTHONPATH I have set with sys.path.append for example interpreter.exec("sys.path.append('C:
Python27
Lib
site-packages
Orange
orng')")

Question: can these Orange script be used outside python within java. And if so how (and if it's possible the solution to the problem I confronted you with)

greetings

sjaakvw

Note: See TracTickets for help on using tickets.