setenv PYTHONPATH /home/harsha/Manta/build/lib:/home/harsha/Manta- project/build/lib:/home/harsha/Manta/SwigInterface
Hello all, I've run into a problem with 'manta-project.' Any help would be greatly appreciated.
I have these two folders compiled as instructed by the wiki:
/home/harsha/Manta
/home/harsha/Manta-project
This runs OK:
./Manta/build/bin/manta
This is what I'm doing for the Manta-project:
source bin/pythonpath.sh
echo $PYTHONPATH
/home/harsha/Manta/build/lib:/home/harsha/Manta-project/build/lib
python ../python/test.py
Traceback (most recent call last):
File "../python/test.py", line 30, in <module>
import wxManta
File "/home/harsha/Manta/build/lib/wxManta.py", line 23, in <module>
from MantaCameraPath import *
ImportError: No module named MantaCameraPath
Interestingly this runs OK:
python Manta/SwigInterface/wxManta.py
However if I copy that file over to the Manta-project it fails:
cp Manta/SwigInterface/wxManta.py ~/Manta-project/python
source ~/Manta-project/build/bin/pythonpath.sh
python Manta-project/python/wxManta.py
Traceback (most recent call last):
File "/home/harsha/Manta-project/python/wxManta.py", line 2, in <module>
import wxManta
File "/home/harsha/Manta/build/lib/wxManta.py", line 23, in <module>
from MantaCameraPath import *
ImportError: No module named MantaCameraPath
Why can Manta see that module and Manta-project cannot? Apologies if this is a user error on my part..
Thanks for reading,
-Harsha
n.b. when compiling 'Manta' I get this warning:
/home/harsha/Manta/Interface/Scene.h:85: Warning(312): Nested struct not currently supported (ignored).
I checked this out and it's a struct named 'Bookmark' which looks to be a saved instance of a camera. I don't think it's related.
Archive powered by MHonArc 2.6.16.