Can not resolve reference when importing custom module, I am using SSH remote interpreter and mapped my local folder to a remote folder

I am using a remote python interpreter and I mapped my local folder to a remote folder as shown below:

 

As shown below, when I import third party modules (e.g. pandas), the reference can be resolved. However, when I import my custom module (deliverable), the reference can not be resolved even though my custom module is in the Interpreter Paths (my module 'deliverable' is in the folder 'home/qfeng/projects/project_fpa', which has been added to the Interpreter Paths).

 

 

 

Could someone tell me why the reference can't be resolved for my custom module?

1 comment
Comment actions Permalink

I resolved this problem by turning 'deliverable' into a package (add __init__.py)

0

Please sign in to leave a comment.