Open KangChou opened 3 years ago
Due to the error, I tried to install Q, but it didn't solve the problem. I operated in Windows 10. How to solve the above problems?
pip install -r requirements.txt yarn Looking in indexes: https://pypi.python.org/simple/ Obtaining file:///C:/Sumo/tools/sumo-web3d (from -r requirements.txt (line 4)) Collecting yarn Downloading yarn-0.0.9-py3-none-any.whl (128 kB) Requirement already satisfied: flake8==3.4.1 in d:\users
I use Ubuntu 18. 04 also has the same error
@sidewalklabs
sumo-web3d Traceback (most recent call last): ...... TypeError: Only async functions are allowed as web-handlers , got functools.partial(<function send_as_http_response.<locals>.func_wrapper at 0x7f00fe1535f0>, '/home/dus/anaconda3/envs/tf20-gpu/lib/python3.7/site-packages/sumo_web3d-1.0.1-py3.7.egg/sumo_web3d/server/../scenarios.json', {'bologna-acosta': <sumo_web3d.server.server.Scenario object at 0x7f00fe0d5290>, 'downtown-toronto': <sumo_web3d.server.server.Scenario object at 0x7f00fdc7f910>, 'queens-quay': <sumo_web3d.server.server.Scenario object at 0x7f00fe0f4250>, 'cross3ltl': <sumo_web3d.server.server.Scenario object at 0x7f00fe0d5050>, 'pedestring-striping': <sumo_web3d.server.server.Scenario object at 0x7f00fe148cd0>, 'person-number': <sumo_web3d.server.server.Scenario object at 0x7f00fe148ed0>}, 'additional', None)
I have successfully installed sumo-web3d, but the following error appears when starting the server. How can I solve it?