USF-IMARS / cope-bathymetry

Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

error when trying to run jupyter notebook for coastline change #2

Open dotis opened 1 year ago

dotis commented 1 year ago

I am trying to run a notebook from this repo to look at coastal change: https://github.com/kvos/CoastSat

Working through the instructions in the README, I have installed anaconda and authenticated earth engine. When I open the "example_jupyter.ipynb" and run the 1st cell, I get an error related to Qt binding.

ImportError: Could not load requested Qt binding. Please ensure that PyQt4 >= 4.7, PyQt5, PyQt6, PySide >= 1.0.3, PySide2, or PySide6 is available, and only one is imported per session.

Currently-imported Qt library:                              None
PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): False
PyQt6 available (requires QtCore, QtGui, QtSvg, QtWidgets): False
PySide2 installed:                                          False
PySide6 installed:                                          False
Tried to load:                                              ['pyqtdefault', 'pyqt6', 'pyside6', 'pyqt5', 'pyside2']

I have looked for some answers to this on the web with no luck. Any ideas are appreciated.

dotis commented 1 year ago

Fixed.

dotis commented 1 year ago

I installed both PyQt5 and PySide6 using pip, but the notebook still has the same error. This may be a path issue.

7yl4r commented 1 year ago

Things worked for me on Ubuntu. I suggest trying conda install -c anaconda pyqt instead of using pip. Be sure you have activated the coastsat conda environment first.

dotis commented 1 year ago

That worked, but the install of pyside does not. Using "conda install -c anaconda pyside"

7yl4r commented 1 year ago

I did not need to install pyside. What is the error you are getting?

dotis commented 1 year ago

I'm getting the same error as before. When I tried installing pyqt while coastsat was activated, I got a bunch of conflicts. I'll try again.


From: Tylar @.> Sent: Friday, June 23, 2023 10:32 AM To: USF-IMARS/cope-bathymetry @.> Cc: dotis @.>; State change @.> Subject: Re: [USF-IMARS/cope-bathymetry] error when trying to run jupyter notebook for coastline change (Issue #2)

I did not need to install pyside. What is the error you are getting?

— Reply to this email directly, view it on GitHubhttps://github.com/USF-IMARS/cope-bathymetry/issues/2#issuecomment-1604370307, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGKS3DMIEVDW7P5Z7UDDV63XMWSJVANCNFSM6AAAAAAZPHY37Y. You are receiving this because you modified the open/close state.Message ID: @.***>

[EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.