PageIndex
PageIndex copied to clipboard
cannot import name 'PageIndexClient' from 'pageindex' (d:\PageIndex\pageindex\__init__.py)
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