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
# for free
to join this conversation on GitHub.
Already have an account?
# 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
pulp
in the pyscript environment.However, when I try to solve a linear programming problem with the
pulp
routinesolve
, 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
homeassistant
docker container whether this file really is missing in the python site-packages. It turns out, that thecbc
executable 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
homeassistant
docker 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