I am working in PyCharm, I am facing this problem and can't fix it.
import camelot
tables = camelot.read_pdf('table.pdf')
print(tables)
Error message: AttributeError: module 'camelot' has no attribute 'read_pdf'
the code is supposed to read tables from the specified PDF file and extract it.