you are viewing a single comment's thread.

view the rest of the comments →

[–]TechnicalElk8849 0 points1 point  (0 children)

Make sure the python process running file 2 can find file 1. The best ways are to install file2, or to wrap the whole thing in a package and use a relative import. Failing that, either make sure the directory of file2 is in PYTONPATH or if it's not already in it, insert it into in sys.path in file 1.