Comments (9)
Same problem. Can be solved by rebuilding grpcio from source: source link.
Yeah this solves the problem, thanks!
Posting here the solution to facilitate:
pip uninstall grpcio
export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation"
pip install grpcio --no-binary :all:
from chainlit.
Same problem. Can be solved by rebuilding grpcio from source: source link.
from chainlit.
i solved this issue with this method.
- pip uninstall grpcio
- add those three lines at the end of your .zshrc file
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation"
3. pip install grpcio --no-binary :all:
from chainlit.
Same problem. Can be solved by rebuilding grpcio from source: source link.
Yeah this solves the problem, thanks!
Posting here the solution to facilitate:
pip uninstall grpcio export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation" pip install grpcio --no-binary :all:
I made an error using this command, but I changed it to pip install --no-cache-dir --force-reinstall -Iv grpcio --no-binary :all:
and it worked
from chainlit.
Same problem. Can be solved by rebuilding grpcio from source: source link.
Yeah this solves the problem, thanks!
Posting here the solution to facilitate:
pip uninstall grpcio export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation" pip install grpcio --no-binary :all:
confirm working
from chainlit.
I use conda environment and this works for me
- pip uninstall grpcio
- conda install grpcio
pip install grpcio
gives me an error about not being able to build the wheel for grpcio.
from chainlit.
It looks like there is a problem with your grpc build as discussed here.
Can you give me your version of grpc pip show grpcio
? Also are you using conda
?
from chainlit.
I am still facing the same problem even after trying
pip uninstall grpcio
export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation"
pip install grpcio --no-binary :all:
from grpc._cython import cygrpc
ImportError: dlopen(/Users/123456/miniforge3/lib/python3.11/site-packages/grpc/_cython/cygrpc.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_kCFStreamPropertySocketNativeHandle'
@willydouhard
@dsantiago
from chainlit.
Can you try to disable the telemetry? Set enable_telemetry=false
in .chainlit/config.toml
. I think grpc is only used for that purpose.
from chainlit.
Related Issues (20)
- Rate limiting the number of messages or conversations per user per time period
- Allow disabling/overriding the integrated frontend HOT 1
- date input widget filter
- Display image in the Chain of Thought Process rather than at the end.
- Chainlit 1.0.200 deployment error HOT 6
- /ws endpoint returns 404 HOT 1
- How to support the data persistence in Azure cloud? HOT 2
- Double response from StuffDocumentsChain.
- How can I implement feedback buttons and consequently, sending the feedback data to Literal AI? HOT 1
- logging chat response in cloud.getliteral.ai HOT 3
- File element in message HOT 3
- set latex=true in config.toml not works for mathematical formula HOT 3
- Human Feedback on Custom React Client HOT 5
- Chainlit deployment for multiple worker for production HOT 2
- Unprocessable Entity: [object Object] HOT 1
- TypeError: 'metadata' is a field but has no type annotation HOT 1
- User message in chat has hardcoded 'You'. Cannot be translated or changed. HOT 1
- cl.step can't feedback? HOT 3
- Possible to nest AskUserMessage under a step? HOT 4
- Should the GPT Mention feature be added?
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 chainlit.