sumo 模拟器显示“SUMO_HOME 变量未设置”和“无法连接”

sumo 模拟器显示“SUMO_HOME 变量未设置”和“无法连接”
my@my-HP-15-Notebook-PC:~$ cd iitk/
my@my-HP-15-Notebook-PC:~/iitk$ netconvert --osm-files iitk.osm -o iitk.net.xml
Warning: Environment variable SUMO_HOME is not set, using built in type maps.
Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
Error: unable to connect socket for URL 'http://sumo.dlr.de/xsd/types_file.xsd'
 In file 'built in type map'
 At line/column 1/0.

  The types could not be loaded from 'built in type map'.
Quitting (on error).

答案1

第一个只是警告。如果你想要消除它,请执行以下操作

export SUMO_HOME=/home/sumo-0.30.0/sumo/

相关内容