Hello Jakob, Thanks for your inputs. I changed the file name from 'Sample Music' to 'Sample_Music' and changed the environment variable SUMO_HOME accordingly. I am still getting the ImportError.
Besides, I have been using folder 'Sample Music' for all these days but I never got this error before. I haven't made any changes to the section of code responsible for this error or to the environment variables. Therefore, I have no clue that why am I getting this error now. Regarding your suggestion of moving the files to a different directory: I am copying the folder sumo-0.28.0. It's the folder which has other folders: bin, tools, data and my .py files. to a new location. Will that suffice or do I have to re-install sumo? Regards, Vaibhav Rungta Graduate Student - Industrial and Systems Engineering Graduate Assistant - Toyota Production Systems Lab Research Assistant - University Transport Research Center 585-754-7133 On Mon, Mar 27, 2017 at 2:43 AM, Jakob Erdmann <[email protected]> wrote: > try moving your sumo files to a directory that does not have a space in > its path name (i.e. not 'Sample Music'). > > 2017-03-24 19:16 GMT+01:00 Vaibhav Rungta <[email protected]>: > >> Hello Folks, >> This is odd because this was not happening until yesterday and I haven't >> made any changes to the code or environment variables. >> >> The code has a section- >> except ImportError: >> sys.exit("some message which prompts and requests user to declare >> SUMO_HOME >> in root directory")) >> >> I declared the environment variable, again and logged-off the computer >> couple of times. (screenshot attached). I am not able to figure the reason >> for which I am getting this error because I haven't made any changes to >> environment variable which can result in such an error. >> >> Kindly suggest. >> >> Regards, >> Vaibhav Rungta >> Graduate Student - Industrial and Systems Engineering >> Graduate Assistant - Toyota Production Systems Lab >> Research Assistant - University Transport Research Center >> 585-754-7133 >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
