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

Magic commands not properly executed. #175

Closed
cyaris opened this issue Nov 2, 2023 · 2 comments
Closed

Magic commands not properly executed. #175

cyaris opened this issue Nov 2, 2023 · 2 comments

Comments

@cyaris
Copy link

cyaris commented Nov 2, 2023

Consider a notebook called file1.ipynb that begins with a cell saying %pip install attrmap==0.0.7. I can run this notebook as intended.

Now, consider a second notebook called file2.ipynb containing a cell %run ./file1. This notebook will execute the installation command in file1.ipynb as markdown instead of recognizing it as a magic command.

@gbrueckl
Copy link
Collaborator

gbrueckl commented Nov 6, 2023

please check the limitations mentioned at https://github.com/paiqo/Databricks-VSCode#notebook-kernel

cells of referenced notebooks that use magics are not executed
this also applies to %run (see below)

@gbrueckl
Copy link
Collaborator

gbrueckl commented Jan 22, 2024

closing as this issue is a know limitation and is also documented

I will add an error message that also states this

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

2 participants