4 - Install-Anaconda-v1.1
4 - Install-Anaconda-v1.1
Version 1.1
Prepared by Ye Zhao, updated on 02/11/2023
Installation steps
1. Go to ANACONDA download page
https://www.anaconda.com/distribution/
Anaconda distribution is a distribution of the Python language for scientific computing, which
comes with over 250 packages automatically installed, including the open-source IDE Spyder.
Anaconda distribution is free for students, academics, and hobbyists.
1 / 10
2. Download the latest “Anaconda Distribution”. In this course, the Python 3.9 64-Bit
version for Windows installer is used.
2 / 10
4. After download, begin the installation. This step may take about 5 – 10 mins.
3 / 10
4 / 10
5 / 10
6 / 10
5. After the installation is finished, search “Spyder” and choose “open file location”
7 / 10
6. Copy and paste “Spyder (Anaconda3)” to the desktop for future use.
Note that “Jupyter Notebook”, “Anaconda Prompt” and more are also included during the
installation.
8 / 10
9. Copy and pates the code example into the “Editor Window” as given below. You have
to save it as a Python file (extension .py) before you can run it.
import matplotlib.pyplot as plt
import numpy as np
# X axis parameter:
xaxis = np.array([2, 8])
# Y axis parameter:
yaxis = np.array([4, 9])
plt.plot(xaxis, yaxis)
plt.show()
9 / 10
10. Run file (or use shortcut F5 on your keyboard) in SPYDER IDE
Make sure it is running OK without any errors. “Figure 1” window should pop up and shown as below.
In addition, you should see the correct results in both “Variable Explorer” window and “Console”
window as shown below.
- END -
10 / 10