0

I'm trying to push my python web app in IBM Cloud but I got this error.

enter image description here

Upon digging to the error this is what I got.

Traceback (most recent call last): File "run.py", line 1, in from flaskblog import app File "/home/vcap/app/flaskblog/init.py", line 19, in from flaskblog import routes

File "/home/vcap/app/flaskblog/routes.py", line 6, in import pandas as pd ModuleNotFoundError: No module named 'pandas' Exit status 1

enter image description here

MLavoie
  • 9,671
  • 41
  • 36
  • 56
GeekyDad
  • 75
  • 1
  • 7
  • An answer was provided below; you should give feedback on whether this solved your issue. –  Jul 03 '18 at 22:30
  • Possible duplicate of [No module named pip.req](https://stackoverflow.com/questions/25192794/no-module-named-pip-req) – phd Jul 04 '18 at 12:54

1 Answers1

0

That means your "flaskblog" code uses the pandas library, but that library is not installed. You have to install it in your target environment so the code can use it.

nosklo
  • 217,122
  • 57
  • 293
  • 297