Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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.

Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...