import pip
from tabulate import tabulate
l=[(1,'ayushi',100),(2,'ayush',200),(3,'aadhivik',199)]
print(tabulate(l,header=l,tablefmt='preety'))
Traceback (most recent call last):
File "C:\Users\rasum\Desktop\tab.py", line 2, in <module>
from tabulate import tabulate
ModuleNotFoundError: No module named 'tabulate'发布于 2021-02-04 16:31:26
这不是安装包的方式,我亲爱的朋友。您需要使用pip从PyPI安装相应的软件包
pip install tabulatehttps://stackoverflow.com/questions/66040277
复制相似问题