We cloned the repo and tried to run prflow but we'...
# dffram
g
We cloned the repo and tried to run prflow but we're getting an error that yaml module isn't found the in the docker. We tried adding pip install pyyaml command to the docker but it didn't work. Can we get some help on resolving this? Thank you in advance!
We fixed it by changing
import yaml
to
import subprocess
try:
import yaml
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", "pyyaml"])
import yaml
In placeable.py
d
Well, that’s quite resourceful of you. Thanks. I was very under the impression we updated the docker container to install pyyaml: https://github.com/Cloud-V/dffram-env/blob/3e010bc450d72d4578e3cb908ac57114825debcf/Dockerfile#L42 but I’m not quite sure what’s gone wrong here.