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

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
tooling

Research direction

Start with line 8 of examples/manual_subsystem.py and inspect the installed moorpy/MoorProps.py from MoorPy 1.2.1, then compare it with the repository version. Run manual_subsystem.py in the reported environment; done means the example gets past the getLineProps import without an ImportError.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
53
Forks
38
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NatLabRockies/MoorPy

All issues in NatLabRockies/MoorPy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.