Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 1

250 bytes added, 16:02, 8 May 2019
PART 2 - Setting up Your Python Environment For Labs
yum install python34 python34-devel # Install python3.4 and python3.4 development libraries
yum install python python2-devel # Install python2.7 and python2.7 development libraries
</source>
:#We now need to create a link to python3.4:<source lang="bash">
cd /bin
ln -s python3.4 python3
</source>
:#Next, you will install a couple of useful applications called '''tmux''' and '''screen'''. They are referred to as '''terminal multiplexers'''. If you plan to spend a lot of time in the terminal, this powerful tool will help you get it done. Lets install it and plan to use it later:<source lang="bash">
yum install python-pip # Install python2.7 pip
yum install python34-pip # Install python3.4 pip
</source></li>
<li style="margin-left:25px;">Upgrade python34-pip with the following command:<source lang="bash">
pip3.4 install --upgrade pip
</source></li>
<li style="margin-left:25px;">Issue the following command to install '''git''':<source lang="bash">