Skip to content

ModuleNotFoundError: No module named 'exceptions' #247

Description

@Kev1n3zz

I download the code on my computer with python3.10.x.
After following the installation, there shows an error.

$ ./mwe.py rcc8
Traceback (most recent call last):
  File "C:\Users\zhangmanyu\Desktop\QSR推理\strands_qsr_lib\qsr_lib\scripts\mwe.py", line 10, in <module>
    from qsrlib.qsrlib import QSRlib, QSRlib_Request_Message
  File "c:\Users\zhangmanyu\Desktop\QSR推理\strands_qsr_lib\qsr_lib\src\qsrlib\qsrlib.py", line 8, in <module>
    from qsrlib_qsrs import *
  File "c:\Users\zhangmanyu\Desktop\QSR推理\strands_qsr_lib\qsr_lib\src\qsrlib_qsrs\__init__.py", line 9, in <module>
    from qsr_qtc_b_simplified import QSR_QTC_B_Simplified
  File "c:\Users\zhangmanyu\Desktop\QSR推理\strands_qsr_lib\qsr_lib\src\qsrlib_qsrs\qsr_qtc_b_simplified.py", line 3, in <module>
    from qsrlib_qsrs.qsr_qtc_simplified_abstractclass import QSR_QTC_Simplified_Abstractclass
  File "c:\Users\zhangmanyu\Desktop\QSR推理\strands_qsr_lib\qsr_lib\src\qsrlib_qsrs\qsr_qtc_simplified_abstractclass.py", line 6, in <module>
    from exceptions import Exception, AttributeError
ModuleNotFoundError: No module named 'exceptions'

I checked the file and the installation, it has't notes what the exceptions are.
And StackOverflow found no answer :)

How could i fix this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions