You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took a while, but after many attempts I was able to get glue to work and be stable on my system using Glue version 1.2.4 and Python version 9. I attempted Python 10, 11, and 12 but they produced errors. Once I had a stable version of glue I wanted to install wwt. I used the command:
conda install -c glueviz glue-wwt to instal wwt
There were no errors when running this command. I then started glue but on startup I received the error message:
INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)
The solution appeared obvious. Since my configuration is using qtpy5 I installed PyQtWebEngine using this command:
conda install pyqtwebengine
Running that command produced this error message:
INFO:glue:Loading plugin wwt failed (Exception: No module named 'notebook.utils')
So I ran this command:
conda install notebook
That command produced the following statement on the console:
All requested packages already installed.
I started glue again, and on startup I received the following errors:
INFO:glue:Loading plugin dendro_factory failed (Exception: No module named 'astrodendro')
INFO:glue:Loading plugin wwt failed (Exception: No module named 'notebook.utils')
In an attempt to fix this I ran this command:
conda install --force-reinstall notebook
After that, this is the version of 'notebook' that I had installed:
glueviz
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: | warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
package notebook-6.5.4-py310haa95532_0 requires python >=3.10,<3.11.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ notebook 6.5.4** is installable with the potential options
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ notebook 6.5.4 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.6.* , which conflicts with any installable versions previously reported.
To attempt to fix this problem I created a new environment identical to the original one and ran these commands:
That series of commands finally got wwt working. However, it broke the 3D Statter Plot function. I received the following message when trying to create a 3D Scatter plot:
RuntimeError: Shader compilation error in GL_FRAGMENT_SHADER:
on line 4: warning C7508: extension OES_element_index_uint not supported
#extension GL_OES_standard_derivatives : enable
on line 437: error C1503: undefined variable "CatRom2D"
rgb = CatRom2D(u_font_atlas, u_font_atlas_shape, uv);
ERROR: Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> for DrawEvent
ERROR:vispy:Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> for DrawEvent
WARNING: Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
WARNING:vispy:Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
ERROR: Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> repeat 2
ERROR:vispy:Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> repeat 2
WARNING: Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
WARNING:vispy:Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
glueviz
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: | warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
nothing provides _python_rc needed by python-3.12.0rc3-rc3_h2628c8c_1_cpython
Could not solve for environment specs
The following packages are incompatible
├─ glue-vispy-viewers 0.12.2** is requested and can be installed;
├─ glueviz 1.2.4** is installable and it requires
│ └─ glue-vispy-viewers >=1.0.3 with the potential options
│ ├─ glue-vispy-viewers [1.0.3|1.0.4|1.0.5|1.0.6|1.0.7] conflicts with any installable versions previously reported;
At that point I gave up. I am open to suggestions at this point.
The text was updated successfully, but these errors were encountered:
I reinstalled glue to attempt to fix the problem. The software versions are still the same. To simplify things, I will just list the immediate error I get right after installing glue-wwt and starting up glue.
The installation of wwt completed without error. But the first time I started glue after that installation I received this error message:
INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)
You have to start glue in verbose mode in order to see this error message : glue -v .
The full console log is attached.
Although the error message makes it sound like this is a simple fix, I have already tried installing PyQtWebEngine in an attempt to fix this problem many times. I found that doing so just makes other parts of glue break. Attempting to fix each subsequent error after installing PyQtWebEngine is pointless. It becomes an endless cascade of problems with dependencies and other errors. As far as I can tell, there is no fix to this.
I am not able to get WWT working in my Glue conda environment.
ENVIRONMENT:
Operating System: Windows 10 Pro Version 22H2
Anaconda Version: 24.5.0
Python Version: 3.9.19
Glue Version:
Name Version Build Channel
glue-core 1.2.4 py39haa95532_0
glue-vispy-viewers 1.0.7 py_1 glueviz
glueviz 1.2.4 haa95532_0
DESCRIPTION:
It took a while, but after many attempts I was able to get glue to work and be stable on my system using Glue version 1.2.4 and Python version 9. I attempted Python 10, 11, and 12 but they produced errors. Once I had a stable version of glue I wanted to install wwt. I used the command:
conda install -c glueviz glue-wwt to instal wwt
There were no errors when running this command. I then started glue but on startup I received the error message:
INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)
The solution appeared obvious. Since my configuration is using qtpy5 I installed PyQtWebEngine using this command:
conda install pyqtwebengine
Running that command produced this error message:
INFO:glue:Loading plugin wwt failed (Exception: No module named 'notebook.utils')
So I ran this command:
conda install notebook
That command produced the following statement on the console:
All requested packages already installed.
I started glue again, and on startup I received the following errors:
INFO:glue:Loading plugin dendro_factory failed (Exception: No module named 'astrodendro')
INFO:glue:Loading plugin wwt failed (Exception: No module named 'notebook.utils')
In an attempt to fix this I ran this command:
conda install --force-reinstall notebook
After that, this is the version of 'notebook' that I had installed:
Name Version Build Channel
notebook 7.0.8 py39haa95532_2
notebook-shim 0.2.3 py39haa95532_0
I started glue again to test this fix but it did not fix the problem So I ran these commands:
conda remove notebook notebook-shim
conda install notebook=6.5.4
The second command produced this error message:
(glue-env39a) C:\Users\Ed>conda install notebook=6.5.4
Channels:
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: | warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
Could not solve for environment specs
The following packages are incompatible
├─ notebook 6.5.4** is installable with the potential options
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ ├─ notebook 6.5.4 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ notebook 6.5.4 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.6.* , which conflicts with any installable versions previously reported.
To attempt to fix this problem I created a new environment identical to the original one and ran these commands:
conda install -c glueviz glueviz=1.2.4
conda install -c glueviz glue-wwt
conda install pyqtwebengine
conda install notebook=6.5.4
That series of commands finally got wwt working. However, it broke the 3D Statter Plot function. I received the following message when trying to create a 3D Scatter plot:
RuntimeError: Shader compilation error in GL_FRAGMENT_SHADER:
on line 4: warning C7508: extension OES_element_index_uint not supported
#extension GL_OES_standard_derivatives : enable
on line 437: error C1503: undefined variable "CatRom2D"
rgb = CatRom2D(u_font_atlas, u_font_atlas_shape, uv);
ERROR: Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> for DrawEvent
ERROR:vispy:Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> for DrawEvent
WARNING: Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
WARNING:vispy:Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
ERROR: Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> repeat 2
ERROR:vispy:Invoking <bound method SceneCanvas.on_draw of <SceneCanvas (PyQt5) at 0x1551b3628b0>> repeat 2
WARNING: Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
WARNING:vispy:Error drawing visual <glue_vispy_viewers.compat.text.TextVisual object at 0x000001551B75A130>
To fix that problem I ran these commands:
conda install -c conda-forge vispy=0.6.6
conda install -c conda-forge glue-vispy-viewers=0.12.2
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(glue-env39cc) C:\Users\Ed>conda install -c conda-forge glue-vispy-viewers=0.12.2
Channels:
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: | warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
Could not solve for environment specs
The following packages are incompatible
├─ glue-vispy-viewers 0.12.2** is requested and can be installed;
├─ glueviz 1.2.4** is installable and it requires
│ └─ glue-vispy-viewers >=1.0.3 with the potential options
│ ├─ glue-vispy-viewers [1.0.3|1.0.4|1.0.5|1.0.6|1.0.7] conflicts with any installable versions previously reported;
At that point I gave up. I am open to suggestions at this point.
The text was updated successfully, but these errors were encountered: