Skip to content
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

Cannot import #516

Open
1 task
zndx1002070101 opened this issue Sep 21, 2023 · 2 comments
Open
1 task

Cannot import #516

zndx1002070101 opened this issue Sep 21, 2023 · 2 comments
Labels

Comments

@zndx1002070101
Copy link

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):

  • Proxy service: [e.g. ScraperAPI]
  • python version: [e.g. 3.8]
  • OS: [e.g. macOS]
  • Version [e.g. 1.5]

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

  • Yes, I will create a Pull Request with the bugfix.

Additional context
Add any other context about the problem here.

@arunkannawadi
Copy link
Collaborator

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

@zndx1002070101
Copy link
Author

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'

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

No branches or pull requests

2 participants