Advertisement
Guest User

Hyperspy_ui_not_starting

a guest
Aug 16th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 49.10 KB | None | 0 0
  1. (base) PS C:\Users\chikhs> conda activate Hyperspy
  2. (Hyperspy) PS C:\Users\chikhs> conda install -c conda-forge hyperspyui
  3. Collecting package metadata (repodata.json): done
  4. Solving environment: done
  5.  
  6.  
  7. ==> WARNING: A newer version of conda exists. <==
  8.   current version: 4.9.1
  9.   latest version: 4.10.3
  10.  
  11. Please update conda by running
  12.  
  13.     $ conda update -n base -c defaults conda
  14.  
  15.  
  16.  
  17. ## Package Plan ##
  18. ############################################################################################################################### | 100%
  19. pyreadline-2.1       | 145 KB    | ############################################################################################################################### | 100%
  20. importlib_resources- | 21 KB     | ############################################################################################################################### | 100%
  21. matplotlib-base-3.4. | 7.2 MB    | ############################################################################################################################### | 100%
  22. pyflakes-2.3.1       | 57 KB     | ############################################################################################################################### | 100%
  23. pyyaml-5.4.1         | 156 KB    | ############################################################################################################################### | 100%
  24. qtconsole-5.1.1      | 89 KB     | ############################################################################################################################### | 100%
  25. ffmpeg-4.3.1         | 26.2 MB   | ############################################################################################################################### | 100%
  26. hyperspy-gui-traitsu | 30 KB     | ############################################################################################################################### | 100%
  27. packaging-21.0       | 35 KB     | ############################################################################################################################### | 100%
  28. backports-1.0        | 4 KB      | ############################################################################################################################### | 100%
  29. hyperspy-base-1.6.4  | 27.3 MB   | ############################################################################################################################### | 100%
  30. mpmath-1.2.1         | 437 KB    | ############################################################################################################################### | 100%
  31. numba-0.53.0         | 3.7 MB    | ############################################################################################################################### | 100%
  32. dask-core-2021.8.0   | 757 KB    | ############################################################################################################################### | 100%
  33. tifffile-2021.8.8    | 134 KB    | ############################################################################################################################### | 100%
  34. libcblas-3.9.0       | 4.5 MB    | ############################################################################################################################### | 100%
  35. libbrotlienc-1.0.9   | 723 KB    | ############################################################################################################################### | 100%
  36. ipyparallel-6.3.0    | 138 KB    | ############################################################################################################################### | 100%
  37. sympy-1.8            | 11.1 MB   | ############################################################################################################################### | 100%
  38. libdeflate-1.8       | 61 KB     | ############################################################################################################################### | 100%
  39. libtiff-4.3.0        | 1.1 MB    | ############################################################################################################################### | 100%
  40. brotlipy-0.7.0       | 368 KB    | ############################################################################################################################### | 100%
  41. debugpy-1.4.1        | 3.2 MB    | ############################################################################################################################### | 100%
  42. mkl-2021.3.0         | 179.7 MB  | ############################################################################################################################### | 100%
  43. numpy-1.21.2         | 5.6 MB    | ############################################################################################################################### | 100%
  44. traitsui-7.2.0       | 930 KB    | ############################################################################################################################### | 100%
  45. backcall-0.2.0       | 13 KB     | ############################################################################################################################### | 100%
  46. krb5-1.19.2          | 843 KB    | ############################################################################################################################### | 100%
  47. urllib3-1.26.6       | 99 KB     | ############################################################################################################################### | 100%
  48. ipython-7.26.0       | 1.1 MB    | ############################################################################################################################### | 100%
  49. pyqode.qt-2.10.0     | 8 KB      | ############################################################################################################################### | 100%
  50. giflib-5.2.1         | 85 KB     | ############################################################################################################################### | 100%
  51. certifi-2021.5.30    | 142 KB    | ############################################################################################################################### | 100%
  52. pycodestyle-2.7.0    | 39 KB     | ############################################################################################################################### | 100%
  53. pickleshare-0.7.5    | 9 KB      | ############################################################################################################################### | 100%
  54. decorator-5.0.9      | 11 KB     | ############################################################################################################################### | 100%
  55. prettytable-2.1.0    | 23 KB     | ############################################################################################################################### | 100%
  56. intel-openmp-2021.3. | 3.0 MB    | ############################################################################################################################### | 100%
  57. bzip2-1.0.8          | 149 KB    | ############################################################################################################################### | 100%
  58. docutils-0.17.1      | 759 KB    | ############################################################################################################################### | 100%
  59. future-0.18.2        | 738 KB    | ############################################################################################################################### | 100%
  60. jxrlib-1.1           | 620 KB    | ############################################################################################################################### | 100%
  61. tornado-6.1          | 648 KB    | ############################################################################################################################### | 100%
  62. fsspec-2021.7.0      | 81 KB     | ############################################################################################################################### | 100%
  63. pep8-1.7.1           | 30 KB     | ############################################################################################################################### | 100%
  64. cloudpickle-1.6.0    | 22 KB     | ############################################################################################################################### | 100%
  65. libblas-3.9.0        | 4.5 MB    | ############################################################################################################################### | 100%
  66. pyqt-5.12.3          | 22 KB     | ############################################################################################################################### | 100%
  67. pyface-7.3.0         | 723 KB    | ############################################################################################################################### | 100%
  68. zeromq-4.3.4         | 9.0 MB    | ############################################################################################################################### | 100%
  69. importlib-metadata-4 | 32 KB     | ############################################################################################################################### | 100%
  70. wcwidth-0.2.5        | 33 KB     | ############################################################################################################################### | 100%
  71. tqdm-4.62.1          | 80 KB     | ############################################################################################################################### | 100%
  72. pint-0.17            | 168 KB    | ############################################################################################################################### | 100%
  73. zipp-3.5.0           | 12 KB     | ############################################################################################################################### | 100%
  74. pyqtchart-5.12       | 207 KB    | ############################################################################################################################### | 100%
  75. cfitsio-3.470        | 596 KB    | ############################################################################################################################### | 100%
  76. matplotlib-inline-0. | 11 KB     | ############################################################################################################################### | 100%
  77. libcurl-7.78.0       | 298 KB    | ############################################################################################################################### | 100%
  78. pyqode.python-2.12.1 | 37 KB     | ############################################################################################################################### | 100%
  79. cffi-1.14.6          | 227 KB    | ############################################################################################################################### | 100%
  80. libaec-1.0.5         | 60 KB     | ############################################################################################################################### | 100%
  81. llvmlite-0.36.0      | 15.1 MB   | ############################################################################################################################### | 100%
  82. networkx-2.5         | 1.2 MB    | ############################################################################################################################### | 100%
  83. importlib_metadata-4 | 3 KB      | ############################################################################################################################### | 100%
  84. ipykernel-6.1.0      | 172 KB    | ############################################################################################################################### | 100%
  85. liblapack-3.9.0      | 4.5 MB    | ############################################################################################################################### | 100%
  86. natsort-7.1.1        | 33 KB     | ############################################################################################################################### | 100%
  87. pywin32-301          | 7.0 MB    | ############################################################################################################################### | 100%
  88. jupyter_core-4.7.1   | 96 KB     | ############################################################################################################################### | 100%
  89. idna-3.1             | 52 KB     | ############################################################################################################################### | 100%
  90. toolz-0.11.1         | 46 KB     | ############################################################################################################################### | 100%
  91. chardet-4.0.0        | 215 KB    | ############################################################################################################################### | 100%
  92. pooch-1.4.0          | 41 KB     | ############################################################################################################################### | 100%
  93. snappy-1.1.8         | 50 KB     | ############################################################################################################################### | 100%
  94. pyzmq-22.2.1         | 477 KB    | ############################################################################################################################### | 100%
  95. qtpy-1.9.0           | 34 KB     | ############################################################################################################################### | 100%
  96. lz4-c-1.9.3          | 135 KB    | ############################################################################################################################### | 100%
  97. libbrotlicommon-1.0. | 66 KB     | ############################################################################################################################### | 100%
  98. libsodium-1.0.18     | 697 KB    | ############################################################################################################################### | 100%
  99. python-dateutil-2.8. | 240 KB    | ############################################################################################################################### | 100%
  100. charls-2.2.0         | 93 KB     | ############################################################################################################################### | 100%
  101. pyqt5-sip-4.19.18    | 298 KB    | ############################################################################################################################### | 100%
  102. scikit-image-0.18.2  | 10.9 MB   | ############################################################################################################################### | 100%
  103. pillow-8.3.1         | 784 KB    | ############################################################################################################################### | 100%
  104. libzopfli-1.0.3      | 203 KB    | ############################################################################################################################### | 100%
  105. jupyter_client-6.1.1 | 79 KB     | ############################################################################################################################### | 100%
  106. libssh2-1.9.0        | 218 KB    | ############################################################################################################################### | 100%
  107. argcomplete-1.12.3   | 34 KB     | ############################################################################################################################### | 100%
  108. win_inet_pton-1.1.0  | 8 KB      | ############################################################################################################################### | 100%
  109. pyqtwebengine-5.12.1 | 143 KB    | ############################################################################################################################### | 100%
  110. appdirs-1.4.4        | 13 KB     | ############################################################################################################################### | 100%
  111. yaml-0.2.5           | 61 KB     | ############################################################################################################################### | 100%
  112. jedi-0.18.0          | 925 KB    | ############################################################################################################################### | 100%
  113. kiwisolver-1.3.1     | 58 KB     | ############################################################################################################################### | 100%
  114. cytoolz-0.11.0       | 323 KB    | ############################################################################################################################### | 100%
  115. traitlets-5.0.5      | 81 KB     | ############################################################################################################################### | 100%
  116. pyqt-impl-5.12.3     | 4.3 MB    | ############################################################################################################################### | 100%
  117. python_abi-3.7       | 4 KB      | ############################################################################################################################### | 100%
  118. h5py-3.3.0           | 1.0 MB    | ############################################################################################################################### | 100%
  119. hyperspyui-1.1.4     | 760 KB    | ############################################################################################################################### | 100%
  120. toml-0.10.2          | 18 KB     | ############################################################################################################################### | 100%
  121. prompt-toolkit-3.0.1 | 244 KB    | ############################################################################################################################### | 100%
  122. dill-0.3.4           | 62 KB     | ############################################################################################################################### | 100%
  123. cryptography-3.4.7   | 705 KB    | ############################################################################################################################### | 100%
  124. charset-normalizer-2 | 32 KB     | ############################################################################################################################### | 100%
  125. numexpr-2.7.3        | 135 KB    | ############################################################################################################################### | 100%
  126. hdf5-1.10.6          | 19.6 MB   | ############################################################################################################################### | 100%
  127. pywavelets-1.1.1     | 4.3 MB    | ############################################################################################################################### | 100%
  128. imagecodecs-2021.7.3 | 6.6 MB    | ############################################################################################################################### | 100%
  129. blosc-1.21.0         | 688 KB    | ############################################################################################################################### | 100%
  130. scipy-1.7.1          | 24.4 MB   | ############################################################################################################################### | 100%
  131. sparse-0.12.0        | 58 KB     | ############################################################################################################################### | 100%
  132. tbb-2021.3.0         | 143 KB    | ############################################################################################################################### | 100%
  133. imageio-2.9.0        | 3.1 MB    | ############################################################################################################################### | 100%
  134. pysocks-1.7.1        | 28 KB     | ############################################################################################################################### | 100%
  135. pygments-2.9.0       | 754 KB    | ############################################################################################################################### | 100%
  136. libwebp-base-1.2.0   | 389 KB    | ############################################################################################################################### | 100%
  137. traits-6.2.0         | 5.0 MB    | ############################################################################################################################### | 100%
  138. partd-1.2.0          | 18 KB     | ############################################################################################################################### | 100%
  139. pyqode.core-2.12.1   | 299 KB    | ############################################################################################################################### | 100%
  140. locket-0.2.0         | 6 KB      | ############################################################################################################################### | 100%
  141. cached_property-1.5. | 11 KB     | ############################################################################################################################### | 100%
  142. zfp-0.5.5            | 160 KB    | ############################################################################################################################### | 100%
  143. typing_extensions-3. | 28 KB     | ############################################################################################################################### | 100%
  144. requests-2.26.0      | 52 KB     | ############################################################################################################################### | 100%
  145. autopep8-1.5.7       | 41 KB     | ############################################################################################################################### | 100%
  146. colorama-0.4.4       | 18 KB     | ############################################################################################################################### | 100%
  147. cached-property-1.5. | 4 KB      | ############################################################################################################################### | 100%
  148. backports.functools_ | 9 KB      | ############################################################################################################################### | 100%
  149. parso-0.8.2          | 68 KB     | ############################################################################################################################### | 100%
  150. ipython_genutils-0.2 | 21 KB     | ############################################################################################################################### | 100%
  151. Preparing transaction: done
  152. Verifying transaction: done
  153. Executing transaction: \ DEBUG menuinst_win32:__init__(199): Menu: name: '${DISTRIBUTION_NAME}', prefix: 'C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy', env_name: 'Hyperspy', mode: 'user', used_mode: 'user'
  154. DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\chikhs\AppData\Local\Continuum\anaconda3\pythonw.exe, args are ['C:\\Users\\chikhs\\AppData\\Local\\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\chikhs\\AppData\\Local\\Continuum\\anaconda3\\envs\\Hyperspy', 'C:\\Users\\chikhs\\AppData\\Local\\Continuum\\anaconda3\\envs\\Hyperspy\\pythonw.exe', 'C:\\Users\\chikhs\\AppData\\Local\\Continuum\\anaconda3\\envs\\Hyperspy\\Scripts\\hyperspyui-script.py']
  155. done
  156. (Hyperspy) PS C:\Users\chikhs> python -m hyperspy
  157. C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\python.exe: No module named hyperspy.__main__; 'hyperspy' is a package and cannot be directly executed
  158. (Hyperspy) PS C:\Users\chikhs> python -m hyperspyui
  159. Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
  160. INFO:hyperspy.extensions:Enabling extension hyperspy_gui_traitsui
  161. INFO:hyperspy.defaults_parser:Writing the config file
  162. INFO:hyperspy.io_plugins.bruker:The fast cython based bcf unpacking library were found
  163. DEBUG:hyperspy.misc.utils:Processing lazy attributes DictionaryBrowserTree
  164. INFO:hyperspy.io_plugins:The USID IO plugin is not available because the pyUSID or sidpy packages are not installed.
  165. INFO:hyperspy.io_plugins:The mrcz IO plugin is not available because the mrcz package is not installed.
  166. Traceback (most recent call last):
  167.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\runpy.py", line 193, in _run_module_as_main
  168.     "__main__", mod_spec)
  169.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\runpy.py", line 85, in _run_code
  170.     exec(code, run_globals)
  171.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspyui\__main__.py", line 173, in <module>
  172.     main()
  173.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspyui\__main__.py", line 151, in main
  174.     from hyperspyui.mainwindow import MainWindow
  175.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspyui\mainwindow.py", line 45, in <module>
  176.     from hyperspyui.mainwindowhyperspy import MainWindowHyperspy, tr
  177.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspyui\mainwindowhyperspy.py", line 36, in <module>
  178.     from . import hooksignal
  179.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspyui\hooksignal.py", line 24, in <module>
  180.     import hyperspy.signal
  181.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\signal.py", line 37, in <module>
  182.     from hyperspy.drawing import mpl_hie, mpl_hse, mpl_he
  183.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\drawing\mpl_hie.py", line 19, in <module>
  184.     from hyperspy.drawing import image
  185.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\drawing\image.py", line 33, in <module>
  186.     from hyperspy.signal_tools import ImageContrastEditor
  187.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\signal_tools.py", line 35, in <module>
  188.     from hyperspy import components1d
  189.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\components1d.py", line 48, in <module>
  190.     _specs["module"]), _component)
  191.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\importlib\__init__.py", line 127, in import_module
  192.     return _bootstrap._gcd_import(name[level:], package, level)
  193.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\_components\eels_cl_edge.py", line 27, in <module>
  194.     from hyperspy.misc.eels.hartree_slater_gos import HartreeSlaterGOS
  195.   File "C:\Users\chikhs\AppData\Local\Continuum\anaconda3\envs\Hyperspy\lib\site-packages\hyperspy\misc\eels\hartree_slater_gos.py", line 36, in <module>
  196.     R = sp.constants.value("Rydberg constant times hc in eV")
  197. AttributeError: module 'scipy' has no attribute 'constants'
  198. (Hyperspy) PS C:\Users\chikhs> python
  199. Python 3.7.11 (default, Jul 27 2021, 09:42:29) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
  200. Type "help", "copyright", "credits" or "license" for more information.
  201. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement