Python: I tried to use tabula: ModuleNotFoundError: No module named 'tabula'

妖精的绣舞 提交于 2020-07-22 06:14:13

问题


I tried to use the module "tabula" for python, but apparently I already fail at installing. I simply used the code

import tabula

However, I get the following error message:

ModuleNotFoundError: No module named 'tabula'

Any ideas what's up with that?


回答1:


You need to install it priorly, lauching this command in a console:

pip install tabula-py

Edit:

For WIndows 10, check the "Get tabula-py working (Windows 10)" part of this documentation.




回答2:


I got the same issue but I solved it by running 'ipython3' instead of 'ipython'. You have to make sure running the script with python3




回答3:


This line of code is what worked for me:

conda install -c conda-forge tabula-py


来源:https://stackoverflow.com/questions/53741605/python-i-tried-to-use-tabula-modulenotfounderror-no-module-named-tabula

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!