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

'paperscraper' has no attribute 'search_papers' #42

Open
yueyin19960520 opened this issue Aug 27, 2024 · 1 comment
Open

'paperscraper' has no attribute 'search_papers' #42

yueyin19960520 opened this issue Aug 27, 2024 · 1 comment

Comments

@yueyin19960520
Copy link

File "D:\Anaconda3\envs\CC\lib\site-packages\langchain\tools\base.py", line 325, in run
else self._run(*tool_args, **tool_kwargs)
File "D:\Anaconda3\envs\CC\lib\site-packages\chemcrow\tools\search.py", line 94, in _run
return scholar2result_llm(
File "D:\Anaconda3\envs\CC\lib\site-packages\chemcrow\tools\search.py", line 51, in scholar2result_llm
papers = paper_search(llm, query, semantic_scholar_api_key=semantic_scholar_api_key)
File "D:\Anaconda3\envs\CC\lib\site-packages\chemcrow\tools\search.py", line 44, in paper_search
papers = paper_scraper(search, pdir=f"query/{re.sub(' ', '', search)}", semantic_scholar_api_key=semantic_scholar_api_key)
File "D:\Anaconda3\envs\CC\lib\site-packages\chemcrow\tools\search.py", line 19, in paper_scraper
return paperscraper.search_papers(
AttributeError: module 'paperscraper' has no attribute 'search_papers'

I have tried every version of paperscraper, they all do not have the search_paper, how to correct it?

@github-staff github-staff deleted a comment from Taiga-A Oct 22, 2024
@github-staff github-staff deleted a comment from yldzmuhammed Oct 28, 2024
@dev1729anurag
Copy link

dev1729anurag commented Nov 5, 2024

facing same issue. any fixes or recommendation

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

No branches or pull requests

3 participants
@yueyin19960520 @dev1729anurag and others