I’ve deployed my app to the Community Cloud. In the app (wouldn’t help to share the link since it’s login-guarded), I’m spinning off subprocesses running python scripts (e.g., subprocess.run('python -m )) and I’m getting ModuleNotFoundErrors. It’s as though the python environment is not the same environment as the one that all of the dependencies have just been installed into. Please advise.
Thanks for sharing this question! Totally understand that you can’t share the app link, but can you please share a runnable code snippet that we can use to reproduce this issue?
@Caroline Thank you so much for your quick response. I apologize for it taking me this long to get back to you. I wanted to create a minimal example to demonstrate the issue I’m having. See here. I imagine this is an easy fix, but I can’t see into the environments on the machine in order to solve this myself.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.