ydoherty / CoastSat.PlanetScope

Batch shoreline extraction toolkit for PlanetScope Dove satellite imagery
GNU General Public License v3.0
48 stars 13 forks source link

Spyder crashes following initial installation (Windows 10) #15

Closed collinjroland closed 1 day ago

collinjroland commented 6 months ago

Description

Following initial installation of the environment (using miniconda mamba env create -f environment.yml -n coastsat_ps), calling spyderfrom the miniconda command line leads to immediate crashing of spyder. I solved this by uninstalling and reinstalling spyder within the coastsat_ps environment. I also encountered this issue on a Windows 11 machine using miniforge. My functional environment details are included below.

Computing environment

OS: Windows 10 Enterprise Processor: 12th Gen Intel(R) Core(TM) i7-1265U

Conda environment

name: coastsat_ps channels:

ydoherty commented 5 months ago

Thanks for that Colin,

I've had many many spyder issues with CoastSat and CoastSat.PlanetScope environments over the years. Sometimes I can install the environment cleanly out of the box but often it takes a few attempts and re-installing spyder seems to help. It seems to vary with the spyder version so hopefully it gets smoother in the future!

Cheers, Yarran

eva-pavo commented 4 months ago

Hi,

I encountered the same problem in my computer (Windows 11) and I tried to solve it by uninstalling spyder (version 5.2.2) within the environment and then installing it again, but it did not work for me. I have tried it several times, and I still cannot make it work.

Thanks in advance.

ydoherty commented 4 months ago

I've also had the same issue recently trying to install spyder in other (non coastsat) environments. It must clash with certain versions of certain packages but without an error message. Usually I have to uninstall then re-install spyder, or try with different spyder versions. Mamba is a lot faster than Anaconda so it makes sorting out the environment a lot easier. Alternately you can try download from different sources (ie conda-forge). Or as a last resort you can run CoastSat.PlanetScope from the terminal or another IDEs (such as VScode), although you may need to play with settings within the IDE so the interactive popups work.