0% found this document useful (0 votes)
20 views13 pages

CMS3510 Software Install Windows

This document provides instructions for installing Python, Jupyter notebooks, and additional software for programming assignments on a Windows PC. It describes downloading and installing Python, installing compilers and cryptography packages using pip, downloading Jupyter notebooks and nteract, and optionally installing PyCharm as an integrated development environment. The instructions are broken into 3 main sections on installing Python and libraries, software for labs, and additional software for assignments.

Uploaded by

Haroon Rasheed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views13 pages

CMS3510 Software Install Windows

This document provides instructions for installing Python, Jupyter notebooks, and additional software for programming assignments on a Windows PC. It describes downloading and installing Python, installing compilers and cryptography packages using pip, downloading Jupyter notebooks and nteract, and optionally installing PyCharm as an integrated development environment. The instructions are broken into 3 main sections on installing Python and libraries, software for labs, and additional software for assignments.

Uploaded by

Haroon Rasheed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Installing Lab & Assignment Software on

Your Own Windows PC


You will be using the Python programming language and Jupyter notebooks for the programming
exercises. You will use Python for the assignment.

1 Install Python & Libraries


1.1 Download & Install Python
Go the Python website (https://www.python.org/) and click on Downloads.

Click on the button to download the installer for your platform.

Now run the installer. Check the “Add Python 3.X to PATH” box. Then click Install Now.

1.2 Installing a C Compiler


Some Python packages are written in C rather than Python and need to be compiled to install
correctly.

You will need to install the Visual Studio Build Tools


You can download the installer from https://visualstudio.microsoft.com/visual-cpp-build-tools/.

Run the installer. It will install and Run the Visual Studio Installer. When you see this screen below,
check “C++ build tools” and then uncheck everything but “MSVC v142” and “Windows 10 SDK”. Now
click Install.

When installed, you can close the Visual Studio Installer application.

1.3 Install Python Cryptography Packages


1.3.1 Install the pycryptodome package
Now open a Command Prompt window to install the PyCryptodome Python package.

Click the Start button. Type cmd. Then click on Command Prompt.

From your Command Prompt window type the following:

python -m pip install pycryptodome


1.3.2 Install the eciespy package
In your Command Prompt window type:
python -m pip install cython

then type:
python -m pip install eciespy

1.3.3 Install the cryptography package


In your Command Prompt window type:

python -m pip install cryptography


1.3.4 Install the PGPy package
In your Command Prompt window type:
python -m pip install PGPy

1.3.5 Install the pyOpenSSL package


In your Command Prompt window type:

python -m pip install pyopenssl

1.3.6 Install the bitstring package


In your Command Prompt window type:

python -m pip install bitstring


2 Install & Configure Software for Labs
2.1 Install the Jupyter Notebook Python Kernel
In your Command Prompt type:
python -m pip install ipykernel

In your Command Prompt or Terminal window type:

python -m ipykernel install

2.2 Download and Install nteract


Go the nteract website (https://nteract.io/). Click on the “Try nteract desktop app” button.
Once downloaded, run the installer.

Click the Install button. Once installed, click Finish. You should see the nteract window.
2.3 Completing lab exercises
To complete lab exercises, you will need to download the Jupyter notebook files (these have a file
extension .ipynb) from Brightspace. Then click File > Open and navigate to where you downloaded
the notebook files. Click on the file you want to run and click Open.
3 Install Additional Software for Assignment
3.1 Installing PyCharm
It is recommended you install an integrated development environment (IDE). PyCharm is a dedicated
Python IDE which is free for personal use.

Go to the PyCharm website (https://www.jetbrains.com/pycharm/). Click on the Download button.

Click on the black Download button under Community. The installer will download (you do not need
to do anything else)

Now run the installer.

Click Next until you get to the Install button. Then click Install. Click Finish when the installation
process ends.

3.2 Configuring PyCharm


Start PyCharm. Choose whether to share data with JetBrains or not (I would recommend not
sharing). Then click OK when the Import PyCharm setting window appears.
Choose your UI theme: either Light or Dark.

On the Featured Plugins screen, click Start Using PyCharm.

This will now open PyCharm.


To start development, click New Project.

Choose a name for the project folder (highlighted in blue). Then click Create. If the Base interpreter
box is empty, it is because you did not install Python in step 1.
The IDE will open. Close the Tips box.

You should now see the following:

3.3 Installing libraries in PyCharm


To configure your project settings, select File | Settings
Click on Project: <your project name>

Click on Project Interpreter.


To install a package, click on the + symbol.

Type the name of the package to search for it. Select the package you want to install and click Install
Package.

You might also like