[Eric] PYTHONPATH

Detlev Offenbach detlev at die-offenbachs.de
Sat Oct 6 10:12:31 BST 2007


On Freitag, 5. Oktober 2007, Nilo Dantas wrote:
> Sirs,
> I have a problem with my project in Eric4 (version
> 4.1-snapshot-20070924-(r1506))
> on GNU/Linux.
> The project are using QT4, and I have the follow structure:
>
> /regexQT4/
>                 __init__.py
>
> /regexQT4/controller/
>                               __ini__.py
>                               start_regexQT4.py
> /regexQT4/view/
>                        __init__.py
>                        regextQT4.py (this is the .ui file generate using
> pyuic4)
>
> Ok, on the shell I set my pythonpath using this code:
>
> $export PYTHONPATH="/home/kessia/code/"
>
> In the folder /code are my projects include regexQT4.
>
> The problem is, when I open the project in Eric4 and try to run, using F2
> key, the project don't run and appears a box talk an error in this line:
>
> from regexQT4.view.regexQT4 import Ui_Form
>
> When I run in shell the project runs fine, without problem.
>
>
>
>
>
> PS.: Sorry for my bad english!

Did you try to set the PYTHONPATH environment variable in the Start dialog? 
What is the exact error given?

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list