Installing and Updating the Anaconda Python Distribution (Spyder 4 and Jupyter Notebooks)

Tutorial Video Windows 10

Tutorial Video Linux

Windows 10

User Account

If you are setting Windows 10 with a Local Account is better to use an Account name that doesn’t include a special character such as a space. Installing Anaconda within such a user folder may be unstable. This issue does not occur if you sign in with a Microsoft Account as the first 5 digits of your user account are used (and an email cannot contain special characters such as a space).

If Windows 10 is already installed in the file explore, type in:

Python

Anaconda Installation

Anaconda 64 Bit for Windows is available here:

Double click the .exe to begin the install:

Select Next:

Accept the License Agreement:

In most cases select just me and then select Next:

Use the default install location, unless your user name has a space in it:

Select install:

Select Next:

Select Next:

Select Finish:

In the start menu you will have an Anaconda folder. Here you will find the Anaconda Powershell Prompt, Spyder and Jupyter Notebooks. It is recommended to pin these to the Start Screen:

Updating the Anaconda Installation Using the Anaconda Powershell Prompt

The standalone installer is out of date and does not include Spyder 4. To update it launch the Anaconda Powershell prompt:

Type in:

HTML

Then press [Enter]

You will get details about the modules being updated. Note do not worry about some modules being downgraded the Anaconda will sometimes revert to more stable versions. Input:

HTML

Then press [Enter].

Wait until a new line shows beginning with (base).

You may now close the Console.

Note avoid the use of

HTML

when installing additional third party modules. Instead use:

HTML

As pip make break the Anaconda installation.

Kite Installation

You can may launch Spyder 4.

You will be prompted to Install Kite.

If this fails download it and install it from here:

Note a user account control prompt will display. You need to accept this otherwise it will just stall the installation of Kite.

Select yes:

Input your details and select Continue or select Continue without Email.

Spyder Dependencies Check

It is advised to check the Dependences before using Spyder. To do this select Help then Dependencies:

All Mandatory and Optional dependencies should be checked.

Linux

Note many of the Linux distributions such as Manjaro 18/Mint 19.3 have Spyder and Anaconda listed in the Software/Applications Manager. These either do not work or fail to install, or in the case of Spyder, install an older version Spyder 3 without all the required dependencies. It is therefore recommended to avoid using the Applications Manager to install Anaconda. I have tested the installation on the four above distributions using screenshots from Fedora 31 as an example.

Anaconda Installer

Download the Anaconda Linux installer.

Open up the terminal.

Type in:

HTML

This will change the directory in the terminal to Downloads. Type in:

HTML

Where Anaconda3-2019.10-Linux-x86_64.sh is the name of the .sh file you have just downloaded (if the data of the installer is newer amend to match).

Press [Enter] repeatedly until you get to the end of the license agreement:

Type in

HTML

Press [Enter]

Type in yes to initialise Anaconda:

HTML

The installation should now be finished (but is out of date).

Update Anaconda Installation to get Spyder 4

In the same Terminal type in to return home:

HTML

Alternatively close and open the terminal. Type in:

HTML

You will be informed on which packages which will be upgraded (and downgraded to more stable releases). Type in

HTML

Anaconda will be updated and the terminal should start a new line beginning with (base).

You may now close the Console.

Note avoid the use of

HTML

when installing additional third party modules. Instead use:

HTML

As pip make break the Anaconda installation.

Launching Spyder/Jupyter Notebooks

You will get no shortcuts to Spyder 4 or Jupyter Notebooks. Use the Terminal to open them by typing in:

HTML
HTML

During the first launch of Spyder:

Kite Installation

Kite will install, select Install Kite and wait:

If it fails go to:

You can select continue without email:

Spyder Dependencies Check

Select Help and then Dependencies:

They should all be okay:

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.