cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

%run file not found

RantoB
Valued Contributor

Hi,

I was using the following command to import variables and functions from an other notebook :

%run ./utils

For some reason it is not working any more and gives me this message :

Exception: File `'./utils.py'` not found.

utils.py is still at the same place, namely in the current notebook directory.

Any idea why it could be not working ?

1 ACCEPTED SOLUTION

Accepted Solutions

RantoB
Valued Contributor

Finally I just solved my issue.

Actually, in the same cell I wrote a comment starting with # and it was not working because of that...

View solution in original post

1 REPLY 1

RantoB
Valued Contributor

Finally I just solved my issue.

Actually, in the same cell I wrote a comment starting with # and it was not working because of that...

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group