You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you start Ortho4XP.py, you will probably come across this error:
File "C:\Users\xxx\AppData\Roaming\Python\Python310\site-packages\skfmm\__init__.py", line 51, in <module>
from .pfmm import distance, travel_time, extension_velocities
File "C:\Users\xxx\AppData\Roaming\Python\Python310\site-packages\skfmm\pfmm.py", line 4, in <module>
from .cfmm import cFastMarcher
ImportError: DLL load failed while importing cfmm: The specified module could not be found.
It will happen because the libgcc and libstdc++ library dependencies (available as part of MSYS2) of skfmm are not part of the trusted DLL path of Python.
The easy way to solve this issue is to add this line at the top of the Ortho4XP.py file, after the imports (notably the os import).
Introduction
As of September 2024, Ortho4XP requires numpy < 2, but numpy < 2 only supports Python up to version 3.10.
So you have to install Python 3.10.
Installation on Linux
One you have installed Python 3.10, you can follow these instructions, which should work on any Linux distribution:
Install Python dependencies
Install Ortho4XP
Installation on Windows
Requirements
PATH
Add the following directories to your PATH:
Install Python dependencies
Install Ortho4XP
You can either download Ortho4XP from the zip archive or download with Git:
If you start
Ortho4XP.py
, you will probably come across this error:It will happen because the
libgcc
andlibstdc++
library dependencies (available as part of MSYS2) ofskfmm
are not part of the trusted DLL path of Python.The easy way to solve this issue is to add this line at the top of the
Ortho4XP.py
file, after the imports (notably theos
import).Now you can start
Ortho4XP.py
(double-click).The text was updated successfully, but these errors were encountered: