Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to install new extension but server part does not install #699

Open
profitgrowinginnovator opened this issue Aug 25, 2023 · 8 comments

Comments

@profitgrowinginnovator
Copy link

profitgrowinginnovator commented Aug 25, 2023

I am trying to bundle a new server extension with Jupyter Desktop 4.0. When I try to install the extension which works in Jupyter Lab in the desktop version I get an error message saying the "the server extension seems to be missing". I have been looking for documentation on how to use extensions in the Desktop 4.0 but I have not found a lot of information. My assumption is that you just use pip install extension inside a notebook. If this is not the case, what is the right process? My extension is called deailab.

Here are the logs:
Screenshot 2023-08-25 at 13 24 57
Screenshot 2023-08-25 at 13 25 13

@welcome
Copy link

welcome bot commented Aug 25, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@JasonWeill
Copy link

@mbektas Is there anything that @profitgrowinginnovator can do to help diagnose this?

@mbektas
Copy link
Member

mbektas commented Sep 6, 2023

@profitgrowinginnovator I can reproduce the issue. The issue is not specific to Desktop app though. In the logs I see that there is a dependency missing (bacalhau_sdk). You can try first installing that on your system.
Logs:
deailab | error adding extension (enabled: True): The module 'deailab' could not be found (No module named 'bacalhau_sdk'). Are you sure the extension is installed?

@JasonWeill
Copy link

@profitgrowinginnovator After installing bacalhau_sdk, do you still see this error?

@profitgrowinginnovator
Copy link
Author

Sorry did not see that you answered the message. My apologies.
I created a new version of the extension [0.1.9] which can be easily installed via the Pypi extension manager. When I install this inside Jupyter Lab everything works but when I install it via the Desktop it does not. As you can see from the list all required libraries are installed, so that is not it.
Screenshot 2023-09-20 at 17 25 08

@JasonWeill JasonWeill reopened this Oct 19, 2023
@JasonWeill
Copy link

@mbektas I reopened this issue because @profitgrowinginnovator provided additional info above. Anything else to try?

@mbektas
Copy link
Member

mbektas commented Dec 17, 2023

@profitgrowinginnovator I retried in a new Python environment. Pypi manager successfully installs the extension but I get the same error as you. and if I run import deailab in a code cell it throws an error ModuleNotFoundError: No module named 'bacalhau_sdk'.

@profitgrowinginnovator
Copy link
Author

There are 5 dependencies that I put in the package.json but for some reason it ignores them. Any suggestions how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants