[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] libsumo error.
|
Dear All,
I'm trying to use http://sumo.dlr.de/wiki/Libsumo.
I added the location of libsumo.py and _libsumo.so to my python path.
I have this error:
Traceback (most recent call last):
File "./run.traci.py", line 16, in <module>
import libsumo
File "... /sumo-git/sumo/bin/libsumo.py", line 17, in <module>
_libsumo = swig_import_helper()
File "... /sumo-git/sumo/bin/libsumo.py", line 16, in
swig_import_helper
return importlib.import_module('_libsumo')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
import_module
__import__(name)
ImportError: dynamic module does not define init function
(init_libsumo)
It's the first time that i have to deal with SWIG, any ideas?
I googled the problem, the only thing I found is to be sure I was using
the right python config, and it was indeed 2.7.
Cheers,
Lara
--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51
EURECOM
Campus SophiaTech
http://www.eurecom.fr/