Comments (3)
Solved by just correctly installing weasyprint.
I use this comand : brew install weasyprint
from gpt-researcher.
E:\git\gpt-researcher\venv\Scripts\python.exe -Xfrozen_modules=off E:\git\gpt-researcher\main.py
WeasyPrint could not import some external libraries. Please carefully follow the installation steps before reporting an issue:
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#troubleshooting
E:\git\gpt-researcher\processing\text.py:19: UserWarning: md2pdf import failed: cannot load library 'gobject-2.0-0': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'
Yeah same problem on windows, need to install a crud ton of stuff by hand that I normally don't use to get it working.
Can you move to some other package?
from gpt-researcher.
if anyone using conda, you should install use these commands
conda install -c conda-forge weasyprint
conda install -c "conda-forge/label/cf202003" weasyprint
from gpt-researcher.
Related Issues (20)
- 如何使用Langchain Adapter 支持的开源模型,且并没有找到config/config.py文件 HOT 3
- Doesn't seem to finish/write the length I want HOT 6
- Passing "detailed_report" in GPTResearcher constructor (still) results in key error HOT 9
- Features Request to make it more intelligent and useful. HOT 2
- When I used tavily search showed connection error, when I switched to duckduckgo search reported the same error HOT 1
- (process:65916): GLib-GObject-CRITICAL **: 21:17:43.023: g_object_ref: assertion '!object_already_finalized' failed HOT 2
- gobject library not found in mac HOT 3
- Latest Version download word,the path is concat error HOT 1
- No supported WebSocket library detected. HOT 2
- HTTPError 400 Client Error Bad Request when using TavilySearchResults HOT 3
- Support for other llm
- Error 422 without details HOT 1
- Add verbosity flag to remove print statements HOT 3
- Error generating outputs (pdf, docx, md) HOT 2
- File name too long. Ubuntu HOT 2
- Task.json help HOT 1
- duckduckgo rate limit exception HOT 5
- Flask Example error HOT 1
- OSError: [Errno 36] File name too long HOT 12
- Use Pydantic Output Parser for report generation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt-researcher.