Comments (8)
Please follow these instructions:
- create a new conda env: 'conda create -n py311 python=3.11'
- run: 'conda activate py311'
- clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
- go to directory: cd gpt-researcher
- run: 'pip install -r requirements.txt'
- run: 'conda install -c conda-forge weasyprint'
- run: 'export OPENAI_API_KEY={Your API Key here}'
- run: 'uvicorn main:app --reload'
Please update me if that worked for you!
from gpt-researcher.
Thank you for the logs! This is a known issue, we are working on it. In the meanwhile, please try to install python 3.11 using homebrew. after that, redo the process using pip3 and also run 'pip3 install weasyprint'. please update us if it solved it!
hope it helps
from gpt-researcher.
@goggledefogger can you update if the solution works for you?
from gpt-researcher.
pango problem reported above persists. Haven't gotten this to work.
from gpt-researcher.
Please follow these instructions:
- create a new conda env: 'conda create -n py311 python=3.11'
- run: 'conda activate py311'
- clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
- go to directory: cd gpt-researcher
- run: 'pip install -r requirements.txt'
- run: 'conda install -c conda-forge weasyprint'
- run: 'export OPENAI_API_KEY={Your API Key here}'
- run: 'uvicorn main:app --reload'
Please update me if that worked for you!
Thanks. I ran this on centos7 (amazonlinux2) and it ran fine, still can't run it on windows.
from gpt-researcher.
Worked like a charm for me. Same exact problem.
Please follow these instructions:
- create a new conda env: 'conda create -n py311 python=3.11'
- run: 'conda activate py311'
- clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
- go to directory: cd gpt-researcher
- run: 'pip install -r requirements.txt'
- run: 'conda install -c conda-forge weasyprint'
- run: 'export OPENAI_API_KEY={Your API Key here}'
- run: 'uvicorn main:app --reload'
Please update me if that worked for you!
from gpt-researcher.
Followed the "recipe" above and got this error:
OSError: cannot load library 'gobject-2.0-0': dlopen(gobject-2.0-0, 0x0002): tried: 'gobject-2.0-0' (no such file), '/System/Volumes/Preboot/Cryptexes/OSgobject-2.0-0' (no such file), '/opt/anaconda3/envs/py311/bin/../lib/gobject-2.0-0' (no such file), '/usr/lib/gobject-2.0-0' (no such file, not in dyld cache), 'gobject-2.0-0' (no such file), '/usr/local/lib/gobject-2.0-0' (no such file), '/usr/lib/gobject-2.0-0' (no such file, not in dyld cache). Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'
from gpt-researcher.
Please follow these instructions:
- create a new conda env: 'conda create -n py311 python=3.11'
- run: 'conda activate py311'
- clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
- go to directory: cd gpt-researcher
- run: 'pip install -r requirements.txt'
- run: 'conda install -c conda-forge weasyprint'
- run: 'export OPENAI_API_KEY={Your API Key here}'
- run: 'uvicorn main:app --reload'
Please update me if that worked for you!
This resolved the pongo problem, but I now get another error:
[...]
File ".../miniconda3/envs/py311/lib/python3.11/subprocess.py", line 1950, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
With docker there is no problem.
from gpt-researcher.
Related Issues (20)
- Support for different Embeddings other than OpenAI HOT 2
- Can't run - needs exa-py HOT 2
- Output style issues + did not manage to locate a library called 'gobject-2.0-0' HOT 8
- "FileNotFoundError: [Errno 2] No such file or directory" with particular prompts HOT 2
- multi-agents module seems to be using gpt-4o no matter what is specified as "model" in task.json HOT 1
- BUG: Crash due to inconsistent arguments passed to GPTResearcher() constructor HOT 1
- UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f50e' in position 0: character maps to <undefined> HOT 5
- TypeError in Config class initialization and ensure proper type handling and directory validation. Solution Provided! HOT 1
- Research across multiple sources HOT 2
- Error with new tone feature when doing a research HOT 6
- Docker buildx to linux/amd64 from Mac M1 throws "system lacks support for the sse3 instruction set" HOT 2
- How to use own .env file? HOT 3
- KeyError: 'Objective (impartial and unbiased presentation of facts and findings)' HOT 2
- raise ImportError( ImportError: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly. HOT 1
- ERROR: Exception in ASGI application when running with Ollama. HOT 5
- Researcher using links from previous calls HOT 4
- gpt-researcher 0.8.0 pip package no longer works with anthropic models HOT 7
- context_length_exceeded HOT 1
- TypeError: the JSON object must be str, bytes or bytearray, not coroutine HOT 2
- Visualization issues :graph.get_graph(xray=1).draw_mermaid_png() HOT 1
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.