Question

When compiling libjingle, on running the 'hammer.sh' on the swtoolkit, i get the following import error,

root@den-pc:~/tejesh/libjingle-0.6.14/talk# sh ../../swtoolkit/hammer.sh
Traceback (most recent call last):
File "../../swtoolkit/wrapper.py", line 44, in <module>
import SCons.Script
ImportError: No module named SCons.Script

so how do i fix this import error... any suggestions?

i already setup the environment variables for scons (SCONS_DIR) and have all the libraries installed..

Was it helpful?

Solution

If you have SCons correctly installed, then it sounds like a problem with python not being able to find it. In addition to the SCONS_DIR environment variable, try including the SCons location in the PYTHONPATH environment variable.

OTHER TIPS

when you install scons,in the README file,you can use:

 # python setup.py install --standalone-lib

that can make scons modules into pythonpath.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top