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: 

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_Fatma
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!!

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