cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Reference py file from a notebook

Jreco
Contributor

Hi All,

I'm trying to reference a py file from a notebook following this documentation: Files in repo

I downloaded and added the files to my repo and when I try to run the notebook, the modules is not recognized:

imageimage 

Any idea why is this happening?

Thanks for the help

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

In this topic you can find some more info:

https://community.databricks.com/s/question/0D53f00001Pp5EhCAJ

The docs are not that clear.

View solution in original post

3 REPLIES 3

Kaniz
Community Manager
Community Manager

Hi @Jreco! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will get back to you soon. Thanks.

-werners-
Esteemed Contributor III

In this topic you can find some more info:

https://community.databricks.com/s/question/0D53f00001Pp5EhCAJ

The docs are not that clear.

Thanks for your reply,

I changed the Runtime version from 8.3 to 8.4 and works!!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.