External Python Module Limitation (pulp) #724
Replies: 1 comment
-
|
I finally let my python code run outside of home assistant and use the homeassistant_api for communication... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am not sure where I should pose this question but hopefully this is the correct community for the following problem:
I am trying to use the python module
pulpin the pyscript environment.However, when I try to solve a linear programming problem with the
pulproutinesolve, using the default solverPULP_CBC_CMD, pulp tries to execute the cbc solver in the backend, which is a command line executable usually shipped with the pulp module.This throws the error
Thus I checked in the
homeassistantdocker container whether this file really is missing in the python site-packages. It turns out, that thecbcexecutable is actually there, however executing it directly on the command line throws a similar errorI found this on stackoverflow which could mean that some system extention/interpreter is missing. However I am not too eager to install stuff in the core
homeassistantdocker container. Has someone had a similar problem? Any ideas on how to solve this problem in an elegant fashion?Kind regards :)
Beta Was this translation helpful? Give feedback.
All reactions