PageIndex icon indicating copy to clipboard operation
PageIndex copied to clipboard

cannot import name 'PageIndexClient' from 'pageindex' (d:\PageIndex\pageindex\__init__.py)

Open William-M-Ricardo opened this issue 3 months ago • 1 comments

William-M-Ricardo avatar Sep 28 '25 12:09 William-M-Ricardo

Thanks for raising this! We just double-checked and can indeed do from pageindex import PageIndexClient without errors.

A few things that might explain why you are seeing cannot import name 'PageIndexClient':

  • Local import path collision: If your working directory has a pageindex folder or file, Python may be importing that instead of the installed package. Try running python -c "import pageindex; print(pageindex.file)" to confirm which module is being loaded.
  • Outdated or partial install: If the package wasn't upgraded properly, your local pageindex directory may be missing PageIndexClient. Try reinstalling: pip install --upgrade pageindex

rejojer avatar Oct 01 '25 05:10 rejojer