[Github-comments] [geany/geany] no module found issue (#2631)

Colomban Wendling notifications at xxxxx
Wed Oct 21 18:34:17 UTC 2020


I don't know how IDLE made it work, but you have one file in */home/pi/* (*ifsample.py*) and the other in */home/pi/Desktop/* (*test.py*); that's unlikely to give good results.  It probably would work if you started *test.py* from directory */home/pi*, which might be what IDLE did, but Geany defaults to running in the file's own directory, which is */home/pi/Desktop* here.  Python has no way to know it should look into */home/pi*, as it's not a default search path and you didn't explicitly tell it to.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2631#issuecomment-713781388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201021/be45e4d6/attachment.htm>


More information about the Github-comments mailing list