Comments (3)
Jupyterlab and Jupyter-ai are able to be used at the same time in a Jupyter notebook and don't break notebooks elsewhere.
This is generally the case. I do not experience issues when I install jupyterlab
and jupyter-ai
in the same environment. Your requirements.txt
file appears to be pinning a lot of dependencies - possibly pip-compile
which you appear to use to generate the requirements.txt
fails to resolve them properly. Can you reproduce the issue without the pins by just installing the two packages?
Can you paste the output of pip check
in your virtual environment?
from jupyter-ai.
I do not experience issues when I install
jupyterlab
andjupyter-ai
in the same environment. Yourrequirements.txt
file appears to be pinning a lot of dependencies - possiblypip-compile
which you appear to use to generate therequirements.txt
fails to resolve them properly. Can you reproduce the issue without the pins by just installing the two packages?
Great idea, thank you @krassowski!
Here's the output of the following:
python3 -m venv .venv
source .venv/bin/activate.fish
pip install jupyterlab jupyter-ai
Get the same error when running a command in a jupyter notebook:
The file '.venv/lib/python3.9/site-packages/psutil/_psutil_osx.abi3.so, 0x0002' seems to be overriding built in modules and interfering with the startup of the kernel. Consider renaming the file and starting the kernel again.
Can you paste the output of
pip check
in your virtual environment?
❯ pip check
No broken requirements found.
Seems to be working as expected.
Reading the logs, it looks like the error is due to the psutil
package not behaving correctly with the Macbook M-series processor. Does that make sense?
Will keep debugging, open to any suggestion here :)
from jupyter-ai.
Yup, that was it in case anyone else experiences this circular import error!
Solution:
pip uninstall psutil && pip install --no-binary :all: psutil
Back to LLMs :) thank you!!
from jupyter-ai.
Related Issues (20)
- gpt4all does not generate notebook (using /generate) HOT 1
- Default language model setting gives `openai.APIConnectionError: Connection error` HOT 1
- Settings saved confirmation message is not visible
- Errors in contacting model show up with code mini-toolbar in chat UI
- Extensible toolbar for code blocks in chat UI
- Remove hard-coded default list of model aliases in magic commands
- Chat input box styling is broken with long messages
- Show a loading indicator in the chat while awaiting reply from the model HOT 2
- The chat `-h` in chat commands is inconsistent and not very helpful HOT 1
- Add a command/shortcut to focus the chat input box
- Sending an empty message results in a silent server error HOT 1
- Error when trying to use huggingface models with older version of `huggingface-hub` HOT 1
- Render the example notebooks in the documentation?
- :bug: `chatgpt` not available anymore in `2.16.0` : _"Cannot determine model provider from model ID openai-chatgpt."_ HOT 5
- Custom file handler for the /learn command HOT 3
- Automatic logging/exporting for conversations in chat UI HOT 1
- Idea: interactive whiteboard in Jupyter AI for scribble prompts HOT 2
- api_version in GUI not considered, need to set OPENAI_API_VERSION HOT 1
- Unable to include webpages copy and pasted into context for language models HOT 4
- Accessing OpenAI assistants from jupyter-ai 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 jupyter-ai.