ImportError: cannot import name 'getLineProps' from 'moorpy.MoorProps'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NatLabRockies/MoorPy
-
Wrong comment Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NatLabRockies/MoorPy#43 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NatLabRockies/MoorPy#22 · 4 comments ·
-
NatLabRockies/MoorPy#64 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
NatLabRockies/MoorPy#63 · 3 comments ·
-
API moordyn bug Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
NatLabRockies/MoorPy#61 · 2 comments ·
All issues in NatLabRockies/MoorPy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100