KmolYuan / Pyslvs-UI

An open source planar linkage mechanism simulation and mechanical synthesis system.
https://pyslvs-ui.readthedocs.io
GNU Affero General Public License v3.0
194 stars 37 forks source link

Compilation error using MSYS2 #20

Closed mdecourse closed 5 years ago

mdecourse commented 5 years ago
Traceback (most recent call last):
  File "launch_pyslvs.py", line 12, in <module>
    main()
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\__init__.py", line 49, in main
    from .core.main_window import MainWindow
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\core\main_window\__init__.py", line 24, in <module>
    from .io import IOMethodInterface
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\core\main_window\io.py", line 57, in <module>
    from .actions import ActionMethodInterface
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\core\main_window\actions.py", line 21, in <module>
    from .storage import StorageMethodInterface
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\core\main_window\storage.py", line 27, in <module>
    from .solver import SolverMethodInterface
  File "Y:\tmp\Pyslvs-UI\pyslvs_ui\core\main_window\solver.py", line 24, in <module>
    from pyslvs import (
ImportError: cannot import name 'SolverSystem' from 'pyslvs' 
KmolYuan commented 5 years ago

Kernel pyslvs might be not installed, please use make build-kernel to build the kernels.

Or install Pyslvs-UI with pip install pyslvs-ui.

mdecourse commented 5 years ago

Problem solved! Due to the old pyslvs module was not replaced with new one.