1st time here so I will apologize ahead of things if I happen to mess up protocol
This may be more of a system issue than a python-specific one, but thought I’d start here…
I have 2 systems on my home subnet, 1 Win 10, 1 Fedora (31, at the moment). My code files reside on the Win 10 sys, but I also work on the files from the F31 sys occasionally. The systems have V3.8X (win 10) and 3.7 (F31) and I have pip’d in the necessary modules (i.e. PySerial, etc.).
I am using SublimeText3 on the F31 sys to access/edit files on my Win 10 sys and leave them there. What I’ve run into is that I have a module (actually, more than one) I created on the Win 10 sys referenced/imported in the code. On the Win 10 sys it is no problem. However, on the F31 sys I get an error that states no such module found.
My sense is it’s a path issue and that when executing from the F31 (on the F31’s Python install), it cannot see (and/or cannot find) the modules (located 1 directory down from the main code on the Win 10 sys).
Is there an easy and straightforward way of resolving this (without having to bring all the files over to the F31 sys)? Maybe I need to be more explicit on the path when importing to ensure the modules can be found?
Thanks in advance and cheers…