Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise errors like "Cannot find TraCI" #1

Open
wingsweihua opened this issue Sep 24, 2018 · 1 comment
Open

Raise errors like "Cannot find TraCI" #1

wingsweihua opened this issue Sep 24, 2018 · 1 comment

Comments

@wingsweihua
Copy link
Owner

For Errors like

ImportError: No module named traci

@wingsweihua
Copy link
Owner Author

wingsweihua commented Sep 24, 2018

The problem is about the path to TraCI module. Please make sure you've successfully installed SUMO and TraCI module.

I suggest you can do the following:

  1. Clone the latest code, where we have updated tips in README.md and codes for compatibility checking.

  2. Following the tips in README.md, specify the location of TraCI module.

For a quickest fix, you can download the source code of SUMO from https://github.com/eclipse/sumo, use its location ./tools/traci/ as the TraCI module path.

If you need detailed instruction about how to run SUMO (or import traci), you can refer to the introduction of SUMO, which can be found at: http://personal.psu.edu/hzw77/posts.html#sumo-introduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant