Closed mhmrx closed 4 years ago
In 1.0, you need to specify the dependencies you need.
For example, pip install tablib[xlsx]
or pip install tablib[all]
.
Docs:
Ok. Didn't know that. It took me a lot of time to find out what is wrong :)
https://github.com/django-import-export/django-import-export/pull/1061 is intented to fix the problem.
tablib in version 1.0 which is installed as dependency of django-import-export causes errors, it doesnt download its dependencies as it was in 0.14.0:
dependencies in v 1.0 look like this:
and then generates errors with imports like this:
File "/usr/local/lib/python3.6/site-packages/tablib/formats/_xlsx.py", line 6, in <module> import openpyxl ModuleNotFoundError: No module named 'openpyxl'