oceanmesh icon indicating copy to clipboard operation
oceanmesh copied to clipboard

install issue and troubleshoot

Open ChengJungHsu opened this issue 10 months ago • 3 comments

There are some obstacles as installing on windows with conda environment. I pass it end up with message "oceanmesh==0+unknown". Going to testing if it can work. Below are my install log, which might be helpful to someone in case.

  1. gmp.dll running install-cgal.bat, it check if gmp.dll exists. In my install direction only gmp-10.dll listed, so I copy it and rename as gmp.dll.
  2. mkl_intel_thread.2.dll running install-oceanmesh, I get stuck with a file mkl_intel_thread.2.dll could not be found. I pass this issue by $conda install -c https://software.repos.intel.com/python/conda/ -c conda-forge mkl
  3. longintrepr.h I fixed longintrepr.h missing by $conda install -c cython
  4. inpoly.py Last, something wrong heppens about inpoly.py. Reinstalled it can help. $conda install conda-forge::inpoly

ChengJungHsu avatar Mar 07 '25 12:03 ChengJungHsu

Thanks for sharing this, @ChengJungHsu . Could you also report the Windows OS and Python version you're using?

krober10nd avatar Mar 07 '25 16:03 krober10nd

I assume you're also aware that we put together https://github.com/CHLNDDEV/oceanmesh/blob/master/install_oceanmesh.bat

krober10nd avatar Mar 07 '25 16:03 krober10nd

@krober10nd Thank you for sharing. Yes, I follow bat file to install. Above package fixed error messages jumping out on my PC. Its OS is Windows 11 21H2 and Python version is 3.12.9.

ChengJungHsu avatar Mar 08 '25 14:03 ChengJungHsu