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

Error when trying to execute tests #97

Open
eriveraa opened this issue Nov 2, 2022 · 1 comment
Open

Error when trying to execute tests #97

eriveraa opened this issue Nov 2, 2022 · 1 comment

Comments

@eriveraa
Copy link

eriveraa commented Nov 2, 2022

Hi, i´ve just installed guiqwt in my windows 10 machine. However when I try to execute the tests i got this error:

>>> from guiqwt import tests
>>> tests.run()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python310\lib\site-packages\guiqwt\tests\__init__.py", line 16, in run
    import guiqwt.config  # Loading icons
  File "C:\Python310\lib\site-packages\guiqwt\config.py", line 18, in <module>
    from guidata import qthelpers
  File "C:\Python310\lib\site-packages\guidata\qthelpers.py", line 20, in <module>
    from qtpy.QtCore import Qt
  File "C:\Python310\lib\site-packages\qtpy\QtCore.py", line 116, in <module>
    Qt.MidButton = Qt.MouseButton.MiddleButton = Qt.MiddleButton
  File "C:\Python310\lib\enum.py", line 480, in __setattr__
    raise AttributeError('Cannot reassign members.')
AttributeError: Cannot reassign members.

Any ideas?

@PierreRaybaut
Copy link
Collaborator

guiqwt works out-of-the-box with Python 3.10 on Windows 10 using WinPython 3.10.8.0 for example.

Could you please tell us more on your Python installation? (output of pip list for example)

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