I have installed a library, pvlib, into my virtual environment. I can use the library just fine in the console but when I try to use it in my web app I get a module not found error.
I have read the instructions at https://help.pythonanywhere.com/pages/DebuggingImportError/ and confirmed that if I run my wsgi.py file I can import the library without any issue.
My web app is running Flask but the following test code will fail to execute.
from flask import Flask
import pvlib
app = Flask(__name__)
@app.route('/')
def flasktest():
return 'Hello, World!'