Comments (5)
@ifuchs can you try running pip install -U websockets
and try again?
from gpt-researcher.
Done. Now I get:
File "/Users/ihf/gpt-researcher/main.py", line 1, in
from fastapi import FastAPI, Request, WebSocket, WebSocketDisconnect
ImportError: cannot import name 'WebSocketDisconnect' from 'fastapi' (/opt/anaconda3/lib/python3.9/site-packages/fastapi/init.py)
from gpt-researcher.
I tried pip install --upgrade fastapi
and now I get:
OSError: cannot load library 'pango-1.0-0': dlopen(pango-1.0-0, 0x0002): tried: 'pango-1.0-0' (no such file), '/System/Volumes/Preboot/Cryptexes/OSpango-1.0-0' (no such file), '/opt/anaconda3/lib/python3.9/site-packages/../../pango-1.0-0' (no such file), '/opt/anaconda3/bin/../lib/pango-1.0-0' (no such file), '/usr/lib/pango-1.0-0' (no such file, not in dyld cache), 'pango-1.0-0' (no such file), '/usr/local/lib/pango-1.0-0' (no such file), '/usr/lib/pango-1.0-0' (no such file, not in dyld cache). Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'
from gpt-researcher.
I solved this by restarting the terminal, probably some env issues.
from gpt-researcher.
Thanks for the update!
from gpt-researcher.
Related Issues (20)
- Incorrect setting of alternative base_url for ChatOpenAI HOT 5
- How to run repo on a mac with local folder? HOT 5
- Duplicate retriever search call HOT 1
- Error when using Gemini!
- Graceful handling of websocket closure HOT 2
- extract_headers sometimes fails HOT 2
- llama3 does not return pure json HOT 4
- document the meaning/impact of configuration options on report quality HOT 1
- Research on local documents doesn't work HOT 7
- [Docs] Langchain Adapters not available (link not working) HOT 1
- ERROR: Could not build wheels for pyreqwest-impersonate, which is required to install pyproject.toml-based projects HOT 2
- API suddenly returning the same sources, regardless of what question is sent and what domains are included HOT 4
- "model 'gpt-4o' not found, try pulling it first" HOT 1
- Interference of different research topics HOT 1
- report Variable Not Assigned for custom_report in write_report Method HOT 2
- AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? HOT 6
- Set up different LLM providers for smart, fast and embedding LLMs HOT 4
- ERROR: Exception in ASGI application HOT 1
- How to use an open embedding model in gpt-researcher HOT 2
- Multi-Agents will have redundant content across different sections HOT 8
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.