I have a Flask-based web application that performs NLP tasks using libraries like pandas, numpy, sklearn, and nltk. I've tried deploying it to my current hosting (SiteGround shared hosting plan), but encountered multiple issues, such as:
Installation issues (pyahocorasick and other dependency errors). Resource limitations (KeyboardInterrupt when importing heavy libraries). Difficulty running continuously in the background. My current setup: Hosting provider: SiteGround Shared Hosting Python version: 3.13.2 Flask app with dependencies: pandas, numpy, sklearn, nltk, contractions, etc. SSH access available, but no root access. Tried using virtual environment (venv), encountering build issues. My questions are:
- Is it possible to run resource-intensive NLP applications like this on SiteGround’s shared hosting plan at all?
- If yes, how? What steps or configurations are required to overcome these errors?
- If no, what are the simplest and most cost-effective alternatives to deploy such a Flask NLP application smoothly (PythonAnywhere, Render, Heroku, AWS, DigitalOcean, or others)?
Thanks in advance for any guidance or advice!