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

Not clear how to run this on windows for jupyterlab 3 or 4 #165

Open
wysisoft opened this issue Aug 21, 2024 · 4 comments
Open

Not clear how to run this on windows for jupyterlab 3 or 4 #165

wysisoft opened this issue Aug 21, 2024 · 4 comments

Comments

@wysisoft
Copy link

I am not clear how to run this inside jupyterlab 3 or 4 and actually get %%sparksql magic to work? I have both jupyterlab 4.2.4 and 3.6.7 running, without errors in the output or the tmp log file, but it says cell magic not found when i try %%sparksql magic

@cccs-nik
Copy link
Collaborator

cccs-nik commented Dec 3, 2024

Current version works with JupyterLab 4. I just released slightly improved logging for loading errors. In general you need to have sql-language-server installed with npm -g (node 20 recommended), node available in your notebook kernel's path and for Python you need jupyterlab-lsp>=5.0.0 jupyter-lsp>=2.2.0 python-lsp-server[all].

@Paradox137
Copy link

Same. UsageError: Cell magic %%sparksql not found.

Image
Image
Image

@cccs-nik
Copy link
Collaborator

cccs-nik commented Mar 5, 2025

I admittedly exclusively work on Linux but I'll give it a try on Windows and see how it goes. Your Jupyter logs have a good clue. I'll get back to you soon @Paradox137

@cccs-nik
Copy link
Collaborator

cccs-nik commented Mar 7, 2025

I made some changes in version 1.4.5 which should make it possible to use on Windows now. Let me know if it works for you or if you run into other issues @Paradox137.

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

No branches or pull requests

3 participants