psutil usage within SikuliX

Asked by Paul Peters on 2020-01-12

I am trying to use psutil functions within a SikuliX script.

sys.path.append("C:\\Program Files\\Python\\Python37\\Lib\\site-packages")
import psutil

But always when I'm importing psutil and run the script I receive the following

[error] script [ StuurprogrammaTestPlannen ] stopped with error in line 4
[error] NotImplementedError ( platform java1.8.0_202 is not supported )

Does anyone know why this doesn't work?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Paul Peters
Solved:
2020-01-15
Last query:
2020-01-15
Last reply:
2020-01-12
RaiMan (raimund-hocke) said : #1

apparently it cannot be used in the SikuliX Jython/Java environment (probably C.based/native stuff inside).

Paul Peters (paulawpeters) said : #2

Hello RaiMan

thanks for your response. I'll look for an other solution.