rmusser01 / tldw

tl/dw (Too Long, Didn't Watch): Your Personal Research Multi-Tool - a naive attempt at 'A Young Lady's Illustrated Primer'
https://tldwproject.com
Apache License 2.0
398 stars 13 forks source link

No module named 'arxiv'' #327

Closed Ryan147 closed 1 month ago

Ryan147 commented 1 month ago

Installed tldw for windows and when I want to run it I get the following error message:

Database path: Databases/media_summary.db Backup directory: Y:\tldw\tldw./tldw_DB_Backups/ Author column already exists in Prompts table. Database path: Y:\tldw\tldw\Databases\media_summary.db Database path: Y:\tldw\tldw\Databases\media_summary.db Traceback (most recent call last): File "Y:\tldw\tldw\summarize.py", line 18, in from App_Function_Libraries.Gradio_Related import launch_ui File "Y:\tldw\tldw\App_Function_Libraries\Gradio_Related.py", line 18, in from App_Function_Libraries.Gradio_UI.Arxiv_tab import create_arxiv_tab File "Y:\tldw\tldw\App_Function_Libraries\Gradio_UI\Arxiv_tab.py", line 12, in from App_Function_Libraries.Third_Party.Arxiv import convert_xml_to_markdown, fetch_arxiv_xml, parse_arxiv_feed, \ File "Y:\tldw\tldw\App_Function_Libraries\Third_Party\Arxiv.py", line 5, in import arxiv ModuleNotFoundError: No module named 'arxiv'

But arxiv is installed.

rmusser01 commented 1 month ago

Thank you for opening an issue, sorry about that. I just pushed an update that updated requirements.txt to include the arxiv package.

If you'd like to resolve the issue, from your virtual env, run the command pip install arxiv, which will install the missing module.

Otherwise, you can re-install using the install script if you're uncomfortable/not familiar with pip/pyvenv.

Ryan147 commented 1 month ago

Thank you for fixing it!

I re-installed and it worked. Thanks a bunch for TLDW :)