Open lshaigorodsky-wbgmames opened 2 months ago
NSWindow is an issue due to usage of tkinter on MacOs. You will need to work around that, and remove all usages of Tkinter.
I am facing the same issue. I have created a venv and installed only the requirements…how is tkinter still an issue?
I am facing the same issue. I have created a venv and installed only the requirements…how is tkinter still an issue?
On MacOS the GUI is facing an issue, its about a forked thread I think, based on the error: 'NSWindow should only be instantiated on the main thread!'.
Also, note that You can’t use Swing with lwjgl3 on OSX. As far as I know, there isn’t a way around that still. In the code, using Tkinter inherently does this, due to peer dependencies.
I tried removing the usage of Tkinter and root. The UI spun up, i could upload custom documents and tried creating embeddings But no luck. Still gives me some errors.
I am facing the same issue. I have created a venv and installed only the requirements…how is tkinter still an issue?
On MacOS the GUI is facing an issue, its about a forked thread I think, based on the error: 'NSWindow should only be instantiated on the main thread!'.
Also, note that You can’t use Swing with lwjgl3 on OSX. As far as I know, there isn’t a way around that still. In the code, using Tkinter inherently does this, due to peer dependencies.
I tried removing the usage of Tkinter and root. The UI spun up, i could upload custom documents and tried creating embeddings But no luck. Still gives me some errors.
Ohh okayy thanks for the insight!! I’ll try to run it on a windows os, hopefully it’ll work
Thank you for great code example and blog post!
Following the steps described in the README file (after installing all packages and running
source langchain_env/bin/activate
When I start the app with
streamlit run RAG_app.py
I almost immediately get following error