Skip to content

Read-the-docs build fails with “cannot import name 'PackageFinder' from 'pip._internal.index'” #6563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brunorijsman opened this issue Jan 21, 2020 · 2 comments
Labels
Support Support question

Comments

@brunorijsman
Copy link

Details

Expected Result

Build succeeds

Actual Result

Build fails with following error message:

ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/home/docs/checkouts/readthedocs.org/user_builds/cascade-python/envs/latest/lib/python3.7/site-packages/pip/_internal/index/init.py)

Additional details

Stackoverflow discussion: https://stackoverflow.com/questions/59846065

One stackoverflow user hypothesized that it is related to the recent release of pip 20.0.0 followed immediately by hotpath 20.0.1

@stsewd
Copy link
Member

stsewd commented Jan 21, 2020

Please check #6554

@stsewd stsewd closed this as completed Jan 21, 2020
@stsewd stsewd added the Support Support question label Jan 21, 2020
@brunorijsman
Copy link
Author

Thanks. The fix described in #6554 worked for me. I answered my own stack overflow question with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

2 participants