- Development Status :: 5 - Production/Stable
- Intended Audience :: Science/Research
- License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)
- Programming Language :: Python :: 2
When you know about this project and you want to new install traci to support your project or you get trouble as ModuleNotFoundError: No module named "traci" or ImportError: cannot import name "traci" in your project, let follow this tutorial to install traci
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_traci_env
- Active the virtual environment
test_traci_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_traci_env
- Active the virtual environment
source test_traci_env/bin/active
To install traci on Windows(CMD):
py -m pip install traci
To install traci on Unix/macOs:
pip install traci
Example:
pip install traci==1.6.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
traci 1.14.1 | 2022-07-18T20:20:04 | Windows: Unix/macOs:
|
traci 1.14.0 | 2022-07-11T20:57:55 | Windows: Unix/macOs:
|
traci 1.13.0 | 2022-05-02T22:03:24 | Windows: Unix/macOs:
|
traci 1.12.0 | 2022-01-24T21:37:33 | Windows: Unix/macOs:
|
traci 1.11.0 | 2021-11-22T21:49:06 | Windows: Unix/macOs:
|
traci 1.10.0 | 2021-08-17T06:52:56 | Windows: Unix/macOs:
|
traci 1.9.2 | 2021-05-17T20:57:56 | Windows: Unix/macOs:
|
traci 1.9.1 | 2021-05-03T20:27:14 | Windows: Unix/macOs:
|
traci 1.9.0 | 2021-04-12T21:16:36 | Windows: Unix/macOs:
|
traci 1.8.0 | 2020-12-01T22:10:16 | Windows: Unix/macOs:
|
traci 1.6.0 | 2020-04-28T18:36:35 | Windows: Unix/macOs:
|
Download the distribution file from traci-1.14.1-py3-none-any.whl or the specific traci version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_traci_downloaded_file>
On Unix/macOs:
pip install <path_to_traci_downloaded_file>
List distribution:
Project link: