ModuleNotFoundError: No module named 'pandas' when importing module

前端 未结 1 1600
你的背包
你的背包 2021-01-24 07:35

When running my module directly with as a flask app through Docker with Python 3, which installs pandas based on the requirements.txt file, it runs fine. When I import this mod

1条回答
  •  深忆病人
    2021-01-24 08:03

    The problem was that I had two setup.py files. One at the root and one in the subdirectory with the rest of the code. I was updating the inner one. Once I move that up and replaced the old one, all the dependencies got installed.

    0 讨论(0)
提交回复
热议问题