Installation with Windows installer + rtree

72 views
Skip to first unread message

d...@rational-im.com

unread,
Sep 9, 2021, 8:50:16 AM9/9/21
to spyd...@googlegroups.com

Good morning:

 

Before I enter a formal issue on Github, let me try this group as a quick clarification might suffice.

 

I just installed Spyder 5.1.3 using the Windows installer (I had used it in the past; before I was using Conda to install updates – but it is now taking too long for Spyder to show up even on Conda Forge). Here is the final screen during installation:

 

 

I have two questions. First, when I look at “About Spyder…” It says that I have version 5.0.5 (see below). Is this just a labeling issue, or the newer version was not installed?

 

 

I’m also getting the infamous rtree dependency error:

 

 

But I will wait to hear from someone regarding the success of my installation with the Windows installer before tackling the rtree issue.

 

Thanks,

 

Danilo

 

 

image001.png
image002.png
image003.png
image004.png

Mauricio AZALGARA BEDOYA

unread,
Sep 9, 2021, 10:38:31 AM9/9/21
to spyd...@googlegroups.com
In my view, you may report the error and try to re-install the software. Regards,

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/001a01d7a579%243ad962f0%24b08c28d0%24%40rational-im.com.

Philip Yip

unread,
Sep 14, 2021, 7:09:56 PM9/14/21
to spyder

What worked best for me was installing Spyder in a new conda environment (tested with both the Anaconda Individual Edition and Miniconda on Windows 11 Beta).

First update the base environment to make sure you have the latest conda package manager:
conda update --all

Next create a new conda environment, activate it and install the latest version of Spyder in it, alongside the optional dependencies. I also added seaborn and libraries that pandas uses for reading and writing to excel files:
conda create -n spyder514
conda activate spyder514
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install spyder=5.1.4
conda install cython matplotlib numpy pandas scipy sympy seaborn openpyxl xlrd xlsxwriter

You can launch Spyder 5.1.4 from the Anaconda Powershell Prompt by using:
conda activate spyder514
spyder

However a Start Menu shortcut should also be created on Windows which can be used to launch Spyder.

I also tested this on Ubuntu 21.10 Beta. There seems to be no prompt to install Kite in the latest version and I had to manually download the .sh file from here and install it using the terminal:

Rational-IM

unread,
Sep 15, 2021, 9:57:05 AM9/15/21
to spyder
Philip:

Thank you very much for your posting. During the weekend, trying different solutions, I ended up doing something very similar (i.e., installing updates in a new conda environment). I will do this going forward, as it will prevent me from not having at least a version of Spyder that works fine. 

For maintenance, one might remove older versions from time to time. Here are a couple of useful conda commands:

○ Use conda info -e to check how many environments there are
○ To remove an environment: conda remove --name envtoremove --all

I was not aware of the automatically generated shortcut for Windows - using it now (vs. launching Anaconda Powershell Prompt + activating environment + running spyder)
Reply all
Reply to author
Forward
0 new messages