Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder won't install correctly in coastsat env #573

Open
JuliaS343 opened this issue Feb 3, 2025 · 4 comments
Open

Spyder won't install correctly in coastsat env #573

JuliaS343 opened this issue Feb 3, 2025 · 4 comments

Comments

@JuliaS343
Copy link

Hi! I am currently trying to install the coastsat environment on another laptop with spyder included. I used this code in the Miniforge prompt:

mamba create -n coastsat
mamba activate coastsat
mamba install python=3.11 geopandas gdal -y
mamba install earthengine-api scikit-image matplotlib astropy notebook -y
pip install pyqt5 imageio-ffmpeg
mamba install pyfes -y
mamba install -c conda-forge spyder

In the last line I added spyder. However, when I try to launch spyder with the miniforge prompt I get: This application failed to start because no Qt platform plugin could be initialized. Do you know how I can resolve this issue?

@kvos
Copy link
Owner

kvos commented Feb 13, 2025

yes that is a common issue, there's an easy fix for that, please google it. It is something like running another pip install pyqt command with the right version

@JuliaS343
Copy link
Author

Thank you for your suggestion. I tried to google it, but I could not really find a definite solution. I tried installing another version of pyqt5 but that did not work. Do you maybe have any other suggestions?

@kvos
Copy link
Owner

kvos commented Feb 19, 2025

try to install all these with pip:
PyQt5 5.15.11
PyQt5-Qt5 5.15.2
PyQt5_sip 12.15.0
PyQtWebEngine 5.15.7
PyQtWebEngine-Qt5 5.15.2
and Spyder 6.0

@JuliaS343
Copy link
Author

Thank you for your reply. For the moment I found a kind of workaround with Spyder and CoastSat. When I have time I will try this. Do you also recommend installing Spyder with Pip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants