Re: [Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread James Chapman
> Further to my last email, here's some reading regarding Python Paths > > http://www.stereoplex.com/blog/understanding-imports-and-pythonpath ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/m

Re: [Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread James Chapman
cd .. Terminal (~/lorem): python3 app/main.py import statement is relative to pwd. -- James On 16 December 2014 at 14:18, Juan Christian wrote: > > Python 3.4.1 > Fedora 21 Server > > My paths: > ~/lorem > ~/lorem/app > ~/lorem/core > > I want to execute: ~/lorem/app/main.py > > Terminal (~/l

[Tutor] Python 3.4.1 ImportError Linux

2014-12-16 Thread Juan Christian
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 from core.backpack import BackpackThread ImportError: No module named 'core'