Hello Folks,
I am getting this warning after I started using randomTrips.py in my python
script:
Warning: Environment variable SUMO_HOME is not set scheme resolution will
use slow website lookups

Had I not changed set the environment variable I do not think I would have
been able to do what I have been able to do so far.

*Variable name*: sumo-0.28.0
*Value*: C:\Users\folder1\folder2\folder3\sumo-win64-0.28.0\sumo-0.28.0

*Section of code which uses path*:
try:
    sys.path.append(os.path.join(os.path.dirname(
        __file__), '..', '..', '..', '..', "tools"))  # tutorial in tests
    sys.path.append(os.path.join(os.environ.get("sumo-0.28.0", os.path.join(
        os.path.dirname(__file__), "..", "..", "..")), "tools"))  #
tutorial in docs
    from sumolib import checkBinary

Regards,
Vaibhav Rungta
Graduate Student - Industrial and Systems Engineering
Graduate Assistant - Toyota Production Systems Lab
Research Assistant - University Transport Research Center
585-754-7133
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to