Andalib Shams
Graduate Research Assistant
Civil, Construction, and Environmental Engineering
Iowa State University
2711 S Loop Dr, Ames, IA 50010, USA
Phone: 307-223-6666
Email: ashams@iastate.edu
|
Home ||
Research ||
Resources
VISSIM-COM Python Environment setup
- Download Python- install miniconda. It is easy to organize and create clear environment using Miniconda (also does not require admin right to install).
-
Follow start menu → Anaconda 3 64-bit → Anaconda prompt.
-
Create an environment in the anaconda prompt by command. Here myenv is the environment name I have used.
conda create --name myenv

Creating environment ensures that in future if we install different version of python, the current environment will not conflict with the future python version. So, we don’t need to bother with compatibility issues.
-
Now we need activate ‘myenv’ by command-
conda activate myenv

-
Install numpy package into myenv- (numpy package is helpful to handle n-dimensional array)
conda install numpy
-
Install spyder IDE into myenv (this has variable explorer and a very powerful console. Which is often very helpful)
conda install -c conda-forge spyder
- If you are going to use "Green box signal controller". Follow these steps too-
-
Install beautiful soup package (to read xml file) into myenv-
conda install -c anaconda beautifulsoup4
-
Conda install xml parser-
conda install -c anaconda lxml
|