installing a WHEEL File on windows 10

Asked by Marc Summers on 2019-05-13

I am currently using Sikuli 1.1.2 on Windows 10.
I purchased an Acroname programmable USB hub and want to install the brainstem-2.7.5-py2.py3-none-any.whl wheel file.
Is there a specific way to install this wheel file to have it integrate with Sikuli ?
Any help would be appreciated

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2019-05-14
Last query:
2019-05-14
Last reply:
2019-05-14
Best RaiMan (raimund-hocke) said : #1

--- brainstem-2.7.5-py2.py3-none-any.whl
this is for use with normal C-based Python. Such modules usually cannot be used with SikuliX/Jython.

You have to install it with normal Python and then analyse the module structure. If there are any C-based/native libs dependencies, then there is no chance to use it with SikuliX.

Another point is to find out, wether the wheel installation is supported by Jython and what has to be done in case.
If this is possible and the import ends up with module-not-found-error, then it is not useable.

Marc Summers (2aircraft) said : #2

Once again, thanks so much for your help RaiMan
you always help me see the light. :)

But, I can do something like this:

subprocess.call(["python" ,"c:\BrainStem\development\python_examples\usbhub3p_example.py"])

Which is really all I need to do.

I do not specifically have to have the BrainStem python code integrated into
the Sikuli scripts.

This is a programmable 8 port USB hub. The specifics of the test automation is to
manipulate the ports, by enabling or disabling specific ports at specific times
during the test.

FYI: this is the BrainStem package that I am using:
https://acroname.com/system/files/software/brainstem_dev_kit_mswindows_i386_1.zip

Again thanks for your help.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of RaiMan
Sent: Tuesday, May 14, 2019 12:23 AM
To: Marc Summers-EXT <email address hidden>
Subject: Re: [Question #680792]: installing a WHEEL File on windows 10

Your question #680792 on Sikuli changed:
https://urldefense.proofpoint.com/v2/url?u=https-3A__answers.launchpad.net_sikuli_-2Bquestion_680792&d=DwIFaQ&c=P3aKjizb3qsxp0SERaL2sw&r=s9vpi181geyPFEcR2YDp_TdDvF1t9rYQB39uVjUxA-o&m=ltNTJ9AdXtjKhYnczURmQ2NiL4A7rArUOcYQHa5q7N0&s=Wg19HDRRGQCAWfiryHmH5JfwTcyWvzbwfyFXfCR6Eeg&e=

    Status: Open => Answered

RaiMan proposed the following answer:
--- brainstem-2.7.5-py2.py3-none-any.whl
this is for use with normal C-based Python. Such modules usually cannot be used with SikuliX/Jython.

You have to install it with normal Python and then analyse the module structure. If there are any C-based/native libs dependencies, then there is no chance to use it with SikuliX.

Another point is to find out, wether the wheel installation is supported by Jython and what has to be done in case.
If this is possible and the import ends up with module-not-found-error, then it is not useable.

--
If this answers your question, please go to the following page to let us know that it is solved:
https://urldefense.proofpoint.com/v2/url?u=https-3A__answers.launchpad.net_sikuli_-2Bquestion_680792_-2Bconfirm-3Fanswer-5Fid-3D0&d=DwIFaQ&c=P3aKjizb3qsxp0SERaL2sw&r=s9vpi181geyPFEcR2YDp_TdDvF1t9rYQB39uVjUxA-o&m=ltNTJ9AdXtjKhYnczURmQ2NiL4A7rArUOcYQHa5q7N0&s=BKciSyJzLrJ1sGHamwW9fci-HUCXF02hXRiqCc5-rb4&e=

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://urldefense.proofpoint.com/v2/url?u=https-3A__answers.launchpad.net_sikuli_-2Bquestion_680792&d=DwIFaQ&c=P3aKjizb3qsxp0SERaL2sw&r=s9vpi181geyPFEcR2YDp_TdDvF1t9rYQB39uVjUxA-o&m=ltNTJ9AdXtjKhYnczURmQ2NiL4A7rArUOcYQHa5q7N0&s=Wg19HDRRGQCAWfiryHmH5JfwTcyWvzbwfyFXfCR6Eeg&e=

You received this question notification because you asked the question.

Marc Summers (2aircraft) said : #3

Once again, thanks so much for your help RaiMan you always help me see the light. :)

But, I can do something like this:

subprocess.call(["python" ,"c:\BrainStem\development\python_examples\usbhub3p_example.py"])

Which is really all I need to do.

I do not specifically have to have the BrainStem python code integrated into
the Sikuli scripts.

This is a programmable 8 port USB hub. The specifics of the test automation is to manipulate the ports, by enabling or disabling specific ports at specific times during the test.

FYI: this is the BrainStem package that I am using:
https://acroname.com/system/files/software/brainstem_dev_kit_mswindows_i386_1.zip

Again thanks for your help.

RaiMan (raimund-hocke) said : #4

Always welcome.

I was a bit in a hurry, so I did not mention this "integration" solution.
But you found it anyways.

All the best.