[Eric] PYTHONPATH

Nilo Dantas nilodantas at gmail.com
Fri Oct 5 18:06:03 BST 2007


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!


-- 
Nilo Dantas . . .
"Use The Source, Luke."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20071005/f8d01884/attachment.html


More information about the Eric mailing list