scholarly-python-package / scholarly

Retrieve author and publication information from Google Scholar in a friendly, Pythonic way without having to worry about CAPTCHAs!
https://scholarly.readthedocs.io/
The Unlicense
1.29k stars 292 forks source link

Cannot import #516

Open zndx1002070101 opened 9 months ago

zndx1002070101 commented 9 months ago

Describe the bug import scholarly

it shows the error: cannot import name 'QueryParams' from 'httpx._models' (C:\Users\yuanl\anaconda3\lib\site-packages\httpx_models.py)

To Reproduce A minimal code snippet to reproduce the bug. If the bug is due to proxy issues and not exactly reproducible, please provide a code snippet and provide additional information under Additional context below.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Do you plan on contributing? Your response below will clarify whether the maintainers can expect you to fix the bug you reported.

Additional context Add any other context about the problem here.

arunkannawadi commented 9 months ago

Can you post the version of httpx installed on your system?

zndx1002070101 commented 9 months ago

Can you post the version of httpx installed on your system?

I used pip install httpx in Anaconda and httpcore-0.13.7. But in notebook, when I import httpx, it said AttributeError: module 'httpcore' has no attribute 'CloseError'