Skip to content

ImportError: cannot import name 'getLineProps' from 'moorpy.MoorProps' #59

@sricharanvvs

Description

@sricharanvvs

Hi - I am a first time user. Using PyCharm IDE. Installed and confirmed the installation of MoorPy 1.2.1. However, while I am trying to run 'manual_subsystem.py', I am getting the following error:

**"C:\Users\ADMIN\Documents\xxxx\Phase-1\MoorPy_Testing.venv\Scripts\python.exe"
"C:\Users\ADMIN\Documents\xxxx\Phase-1\MoorPy_Testing\MoorPy-main\MoorPy-main\examples\manual_subsystem.py"
Traceback (most recent call last):
File "C:\Users\ADMIN\Documents\xxxx\Phase-1\MoorPy_Testing\MoorPy-main\MoorPy-main\examples\manual_subsystem.py", line 8, in
from moorpy.MoorProps import getLineProps

ImportError: cannot import name 'getLineProps' from 'moorpy.MoorProps' (C:\Users\ADMIN\Documents\xxxx\Phase-1\MoorPy_Testing.venv\Lib\site-packages\moorpy\MoorProps.py). Did you mean: 'getPointProps'?**

Any suggestions and help are appreciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions