OSRSmath
OSRSmath copied to clipboard
"NameError: name 'get_opponents' is not defined" when running osrs.path via command line
OS: Windows 10 Python Version: 3.8.5
Description: Installed osrsmath via pip and tried to run the osrs.path command as stated in the instructions on PyPi: https://pypi.org/project/osrsmath/0.0.1/
The following error is output:
C:\Users\marcu>py -m osrsmath.apps.path
Traceback (most recent call last):
File "C:\Users\marcu\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 194, in _run_module_as_main
File "C:\Users\marcu\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 87, in _run_code
File "C:\Users\marcu\AppData\Local\Programs\Python\Python38-32\lib\site-packages\osrsmath\apps\path\__main__.py", line 60, in <module>
NameError: name 'get_opponents' is not defined