ctpanda Posted January 17, 2020 Posted January 17, 2020 Hi, I am running a flask app on Ricky and I need to install some dependencies via pip for everything to work properly. I asked on Discord what I should do and I was told to post here. I have a requirements.txt file with a list of all of the packages I need, which I will attach. Thanks for the help!requirements.txt
Flaze Posted January 17, 2020 Posted January 17, 2020 This support request is being escalated to our root admin.
Krydos Posted January 18, 2020 Posted January 18, 2020 Could someone compare that requirements.txt list to https://krydos1.heliohost.org/cgi-bin/modules27.py and post a list of modules that aren't already installed?
Krydos Posted January 18, 2020 Posted January 18, 2020 @fasouza, thanks a lot. That really helps. @ctpanda, there you go https://krydos1.heliohost.org/cgi-bin/modules27.py
ctpanda Posted January 21, 2020 Author Posted January 21, 2020 I'm still getting an error on "import flask_marshmallow". The error logs on cPanel aren't very informative for python errors, is there any way that you could check to see what's causing it and if it's related to this?
Krydos Posted January 21, 2020 Posted January 21, 2020 The problem was actually with marshmallow-sqlalchemy version 0.19.0. Apparently the last version of marshmallow-sqlalchemy to support python 2.7 was 0.18.0. Once I downgraded that you can import flask_marshmallow now.
ctpanda Posted January 21, 2020 Author Posted January 21, 2020 Cool, thanks! For future reference, is there any way I can see more exact python error data from cPanel? The Errors panel only shows the filename and line number, which isn't always very helpful.
Krydos Posted January 21, 2020 Posted January 21, 2020 No, you'll need to ask an admin for the full error message if the cpanel error page doesn't give enough information.
Recommended Posts