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

can not run in py38 #172

Open
m986883511 opened this issue Nov 3, 2023 · 1 comment
Open

can not run in py38 #172

m986883511 opened this issue Nov 3, 2023 · 1 comment

Comments

@m986883511
Copy link

(py38) C:\Users\admin>python -V
Python 3.8.18

(py38) C:\Users\admin>
(py38) C:\Users\admin>pip list
Package      Version
------------ --------
Jinja2       3.1.2
MarkupSafe   2.1.3
packaging    23.2
pip          23.3
Pygments     2.16.1
PySide2      5.15.2.1
QtPy         2.4.1
ryven        3.4.3
ryvencore    0.4.0
ryvencore-qt 0.4.3
setuptools   68.0.0
shiboken2    5.15.2.1
textdistance 4.6.0
waiting      1.4.1
wheel        0.41.2

(py38) C:\Users\admin>ryven
Traceback (most recent call last):
  File "C:\Users\admin\miniconda3\envs\py38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\admin\miniconda3\envs\py38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\admin\miniconda3\envs\py38\Scripts\ryven.exe\__main__.py", line 7, in <module>
  File "C:\Users\admin\miniconda3\envs\py38\lib\site-packages\ryven\main\Ryven.py", line 78, in run
    from ryven.gui_env import init_node_guis_env  # Qt dependency
  File "C:\Users\admin\miniconda3\envs\py38\lib\site-packages\ryven\gui_env.py", line 2, in <module>
    from ryven.main.packages.gui_env import *
  File "C:\Users\admin\miniconda3\envs\py38\lib\site-packages\ryven\main\packages\gui_env.py", line 8, in <module>
    import ryven.gui.std_input_widgets as inp_widgets
  File "C:\Users\admin\miniconda3\envs\py38\lib\site-packages\ryven\gui\std_input_widgets.py", line 59, in <module>
    class Builder:
  File "C:\Users\admin\miniconda3\envs\py38\lib\site-packages\ryven\gui\std_input_widgets.py", line 65, in Builder
    def evaled_line_edit(init=None, size='m', descr: str = '', resizing: bool = True, data_type: type[Data] = Data):
TypeError: 'type' object is not subscriptable

(py38) C:\Users\admin>
@leon-thomm
Copy link
Owner

TODO: change type[Data] -> Type[Data]

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