0 ratings0% found this document useful (0 votes) 35 views10 pagesInstallation of Software For Coding
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Appendix 1 (Low Code Workshop)
Setup Instructions for Orange Software
Download Orange here: https://orangedatamining.com/download/
© Straightforward to follow instructions for Windows and macOS-
© More manual steps for Linux
Choose the appropriate version for your system, and follow the installation
instructions (with admin rights).
Alternatively, use the portable version (about 2GB unzipped)
‘Once done, run the Orange software, and you should see the following screen.
aaa
To ensure Orange is working, select Examples > File and Data Table, then
Open.This opens up an example workflow. To test it, double click on the Data Table.
You should be able to view the data below.S evies -oarge EArt
Hle_fdt_Miew Widget Window Options Help
‘Fle widget. Double ‘Date Toble wit
Fas = ek o open tard Double lk the eon
tele te pase fe foseetheaatana
es. The ott ofthe
dD Data Tablet send
‘uty das (one)
= Domes hav are secs
0 ee o the wid.
FE i me pane
me ‘ fam Tor
atte tte Othe Rak fers
Tho oaputot Treinpstof he ‘nts con
the Fe wet. Data Tole wet.
Siete baw a actin ‘The communication
channel Te passes the
atic rom the Fle
diget to the Data
Table
i
i.
ot ttle orange - o x
He fat View Wedow Help
1s stances (ors dt)
rere
Tet th 3 tes
Nore srbutes
show rb ta fst)
Caterer vs
coke by tance eases
selec
see ons
oa at
estore al Oe
‘Se tons
2B | a0 G s0]1590
Ifyou can view the above table, Orange was installed successfully.
Install Add-OnsNow, install some useful Add-Ons. Navigate to the Add-ons menu which can be
found under Options.
w Options Help
BE settings
Reset Widget Settings.
Add-ons.
———=trioose crass*lapele
— Antacat Gav “rie 2
The Add-ons menu will show up, where we can search for Add-ons to install.
® instaler- Orange 2 x
i ld ere
Name Version | Acton =
Oranges 3362
(Associate 130
(Bioinformatics 434
(educational oz2
explain 068
( frirmess org
D Geo oa
(image Analyses ona
(Network 180 a
Orange 3
Orange ts 2 component-based data mining software. I includes a range of dat visualization, excoration,
reprocessing and modaling techniques. 1 can be used through nice and inte user nerace or, or more
advanced users, 2s 2 module fr the Python programming language
This the atest version of Orange (For Python 3). The deprecated version of Orange 2.7 (for Python 2.7) i tit
avaloble (bares and sauces),
Installing with pip
To instal Qrange with pip, run the following,
OK cancel
Search for the Educational Add-On and select it with the checkbox on the left
then click install. Repeat for the Text, Image Analytics, and Geo Add-Ons.
Orange will prompt you to restart, and you can do so. When you next search for
the Add-Ons in the menu, they will show up as already installed.@ rstaller- Orange 7 x
edcational kd more
Nome Version Action
A ducati 072 stall
Orange3 Educational
‘ado Educational addon demons several ay dta niin and machine Kearingprocedies. The wedges
‘set fr beter to understand the ner work of ky agin he data mining nd for teachers to bo
leo vsualy expan various methods in a dosvoom, See decumeaten.
Features
+ end data ftom a Goonl Sheets sreadshest
‘import data from Ener (1k. puble URL
ox || canal
This is what it looks like after Add-Ons are installed.
Name Version Action
Orange3 3.362
Associate 13.0
Bioinformatics 48.4
“J Educational 072
C1 &xplain 0.6.8
| Fairness 0.18
J Geo 0.4.1
Now you are done installing and setting up Orange, and are recommended to look
at example workflows.Appendix 2A (High Code Workshop)
Setup Instructions for Python + NetworkX / scikit-learn
There are 2 options: 1. Install everything locally to run on your computer in either
Jupyter Lab or another editor, or 2. Run everything online on Google Collab.
1. Run Locally
To setup everything locally (varies depending on OS)
Install Python: httos://www.python.ora/downloads/. Follow the instructions for
your OS, just download the latest release version. Ensure that when installing,
the option to set PATH variable is chosen (see image below).
& Python 3.10.11 64-bi) Setup =
Install Python 3.10.11 (64-bit)
Select Install Now to install Python with default settings. or choose
Customize to enable or disable features.
'® Install Now
CAUsere\ashub
nstallation
| python
1G Use admin privileges when installing py.exe
windows Add pythonexe to PATH Pe]
To test if Python is installed correctly, open a command prompt and start python
using the command py or python. Try some simple code like print(“Hello World”),
and you should get the following output.secur Ragen ae
EUS od Sasa)
(Vana Ge YABB as
Type "help", "copyright", "credits
>>> print("Hello World")
eel aie]
pes
Now we need to install other libraries: jupyterlab, networkx, and scikit-learn.
We will do so via the command prompt. If you would rather use another editor such
as VSCode, you can skip the next step.
Run the command terlab to install ju
Users\ngmhc>py -m pip install jupyterlab
Ifthe install didn't give any errors, try running the command jupyter-lab. It should
start. a local server, and open a browser window pointing to
http://localhost:8888/lab. From there, you can create new notebooks and run your
SR ean
aa
emapeeca mec
con
cshim | extens
Rae
]
Visual Studio Code
if you don't want to use jupyter notebooks, you can run your python code in the
terminal using editors like VSCode: hitps://code.visualstudio.com/download
(recommended editor). After installing, create a new python file. Start a new
terminal, and you can run your code from there.Run
Terminal New Terminal Ctrl+Shifte
CT
(replace with your actual python
enn aeaer
print("Hello World")
ars
CORN TeTstaOeeace a Ya Soe Nd
Hello World
\Users\ngmhc\Desktop> fjAppendix 2B (High Code Workshop)
Setup Instructions for NetworkX / scikit-learn
Install networkx and scikit-learn
Now, use pip to install networkx and scikit-learn, Run the command py «m pip
install networkx scikit-learn.
:\Users\ngmhe>py -m pip install networkx scikit-learn
To check if they are installed, run the code below and ensure it gives an output
(example using a Jupyter Notebook).
import networkx
import sklearn
print (networkx.__version_)
print(sklearn.__version__)
3.2.1
1.4.1.post1
2. Run in the web browser using Google Colab
If you would rather not have to install software, you can use Google Colab:
htips://colab.research.google.com/, You should be able to create your own
notebooks and run the same code as above.
If there are errors and networkx / scikit-learn are not installed, you can do so
ing pip by running ! stall networkx scikit-learn in the notebook.
PH Uc emcee esos i
If you are unable to access Google Colab when logged into your school account,
try with a personal Google account. The school IT policy might disallow access to
Google Colab.