Forums

problems when applying $ python manage.py migrate

Hello.

I've created a virtualenv in my app.

I've installed django 1.10.0 in that virtualenv.

When I want to apply my $ python manage.py migrate, an error occurs "Import error, no module named pandas"

If i install pandas, then there seems to be an error with te version of numpy.

What's happening?, How can I solve this?

Thanks

It's hard to debug that without some more information on exactly what you did when, and exactly what the errors were, but here are some things to try and/or check:

  • did you definitely activate your virtualenv before installing pandas and/or numpy
  • did you definitely activate your virtualenv before running manage.py migrate?
  • if yes to both, try uninstalling pandas and numpy from your virtualenv, and then reinstalling them.

let us know if that helps!