AdvancedPhotonSource / pyXpcsViewer

A python-based interactive visualization tool to view XPCS dataset
Other
8 stars 2 forks source link

Problem opening xpcs_viewer from Windows #13

Closed qzhang234 closed 3 years ago

qzhang234 commented 3 years ago

Opening xpcs_viewer from Windows produced the following error message on the terminal:

Terminal output ``` (VirEnv) PS D:\Work\Projects\Piotr_XPCS\A021_Silica_D100nm_att3_Rq0_R> run_viewer D:\Work\Projects\Piotr_XPCS\A021_Silica_D100nm_att3_Rq0_R>python -c "from xpcs_viewer import run; run()" $@ Traceback (most recent call last): File "", line 1, in File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\xpcs_viewer\__init__.py", line 2, in from .viewer import run File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\xpcs_viewer\viewer.py", line 2, in from .viewer_ui import Ui_mainWindow as Ui File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\xpcs_viewer\viewer_ui.py", line 1695, in from .plothandler import ImageViewDev, MplCanvasBarH, MplCanvasBarV, PlotWidgetDev File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\xpcs_viewer\plothandler\__init__.py", line 2, in from .pyqtgraph_handler import ImageViewDev, PlotWidgetDev File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\xpcs_viewer\plothandler\pyqtgraph_handler.py", line 1, in import pyqtgraph as pg File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\pyqtgraph\__init__.py", line 13, in from .Qt import QtGui, mkQApp File "C:\Users\qzhang234\Anaconda3\envs\VirEnv\lib\site-packages\pyqtgraph\Qt.py", line 140, in from PyQt5 import QtSvg ValueError: PyCapsule_GetPointer called with incorrect name (VirEnv) PS D:\Work\Projects\Piotr_XPCS\A021_Silica_D100nm_att3_Rq0_R> ```
qzhang234 commented 3 years ago

Solved