cd .. Terminal (~/lorem): python3 app/main.py
import statement is relative to pwd. -- James On 16 December 2014 at 14:18, Juan Christian <[email protected]> wrote: > > Python 3.4.1 > Fedora 21 Server > > My paths: > ~/lorem > ~/lorem/app > ~/lorem/core > > I want to execute: ~/lorem/app/main.py > > Terminal (~/lorem/app): python3 main.py > > Traceback (most recent call last): > File "app/main.py", line 5, in <module> > from core.backpack import BackpackThread > ImportError: No module named 'core' > > > Why am I getting this? > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
