Hello,
I’ve developed a Rails application which happens to use a Python script in a background process. (No other way to do this unfortunately).
I added pip install -r requirements.txt
to the build command and the dependency installation is successful as evident by the build logs.
However within both the Python script and the SSH console trying to access these dependencies fails with typical “ModuleNotFoundError: No module named ‘’” errors.
Is there a trick to getting this to work, or will I have to extract the Python logic into a separate API to call from the Rails app?
Thanks in advance