[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Understanding libsumo
|
Hi Valentin,
when you build sumo and install it under Linux , you should see
at the end lines like
...
creating build/lib.linux-x86_64-2.7/libsumo
copying
/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/libsumo/libsumo.py
-> build/lib.linux-x86_64-2.7/libsumo
copying
/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/libsumo/__init__.py
-> build/lib.linux-x86_64-2.7/libsumo
copying
/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/libsumo/liblibsumoc.so
-> build/lib.linux-x86_64-2.7/libsumo
copying
/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/libsumo/libsumoc.so
-> build/lib.linux-x86_64-2.7/libsumo
copying
/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/libsumo/_libsumo.so
-> build/lib.linux-x86_64-2.7/libsumo
running install_lib
copying build/lib.linux-x86_64-2.7/libsumo/libsumoc.so ->
/usr/local/lib/python2.7/dist-packages/libsumo
copying build/lib.linux-x86_64-2.7/libsumo/_libsumo.so ->
/usr/local/lib/python2.7/dist-packages/libsumo
...
This means libsumo is now in the packages for python2.7.
You can use libsumo now.
Regards, Harald
Am 05.02.20 um 11:51 schrieb Valentin
Düe:
Hi Michael,
thanks for your answer. That clarified it a little. I
installed sumo and built the setup-libsumo.py file.
What do I need to do?
Thanks in advance!
BR,
Valentin
Am Mi., 22. Jan. 2020 um
22:14 Uhr schrieb Michael Behrisch <
oss@xxxxxxxxxxx>:
Hi
Valentin,
when using libsumo you need to build sumo yourself using the
linux build
instructions: https://sumo.dlr.de/docs/Installing/Linux_Build.html.
I
also adapted the docs to make this explicit.
Best regards,
Michael
Am 22.01.20 um 15:52 schrieb Valentin Düe:
> Hey guys,
>
> I was looking into libsumo and apart from the libsumo
page from sumo
> (https://sumo.dlr.de/docs/Libsumo.html)
I did not find any information.
> My current goal is, to just install libsumo and make it
run. If I
> currently try to import libsumo, I get following error:
>
>
/usr/local/lib/python3.6/dist-packages/libsumo/__init__.py in
<module>
> 13 # @version $Id$
> 14
> ---> 15 from .libsumo import * # noqa
>
> ModuleNotFoundError: No module named 'libsumo.libsumo'
>
> where should .libsumo be defined?
>
> If I look into the link from above, there is just
explained "under Linux it is probably just a matter of calling
cmake and
> make", which is not very descriptive to me.
>
> I appreciate your help.
>
> Best regards,
>
> Valentin
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password,
or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user