do not use pip3 for installing cocotb
[dev-env-setup.git] / cocotb-install
1 #!/bin/bash
2 if [ "$EUID" -ne 0 ]
3 then echo "Please run as root using 'sudo bash'"
4 exit
5 fi
6
7 apt-get update -y
8 apt-get install -y git python3 python3-dev g++ make python3-pip \
9 python3-setuptools
10
11 git clone https://github.com/cocotb/cocotb
12 cd cocotb
13 git checkout v1.5.2
14 python3 setup.py install
15