Forums

Web app locked to system interpreter, ignoring Virtualenv setting

I am experiencing a persistent ModuleNotFoundError for 'flask' and 'sib_api_v3_sdk' in my web app.

  1. My libraries are confirmed to be installed in /home/dailydachshunds26/.virtualenvs/clean-venv/lib/python3.13/site-packages.
  2. My WSGI file is configured with site.addsitedir and sys.path.insert, but my diagnostic logs show my web app is running using /usr/local/bin/uwsgi and is ignoring my configured Virtualenv path entirely.

It appears my web app configuration is locked to the system interpreter and is not honoring my assigned Virtualenv. Could you please investigate and reset the environment binding for my web app? My account is dailydachshunds26.

You need to configure your web app to use the virtualenv. You can do that from your web app configuration page.

Glenn, I have re-configured the path in the Web tab multiple times and clicked the save icon, but the diagnostic logs still show the app running on the system interpreter (/usr/local/bin/uwsgi) and ignoring the Virtualenv path. Could you please take a look at my account configuration on your end to see why the Virtualenv binding is not taking effect?

It will never show a uwsgi binary in a virtualenv. The uwsgi binary has nothing to do with whether the web app is using a virtualenv or not

You have told me the problem but gave me no solution. Your response hasn't helped me one bit so I will contact support directly.