"ImportError: cannot import name 'convert_from_path' from partially initialized module 'pdf2image' (most likely due to a circular import)"
I'm going out on a limb and guessing your python file is called pdf2image.py. Try naming it something else.
I am getting the error when using pdf2image module:
from pdf2image import convert_from_path
pages = convert_from_path('mypdf', 500)
for page in pages:
    page.save('out.jpg', 'JPEG')