Open HannoSpreeuw opened 2 months ago
However.....this way of installing may not work:
python -c "import minpack"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".../anaconda3/envs/py312/lib/python3.12/site-packages/minpack/__init__.py", line 6, in <module>
from .library import (
File ".../anaconda3/envs/py312/lib/python3.12/site-packages/minpack/library.py", line 21, in <module>
from ._libminpack import ffi, lib
ModuleNotFoundError: No module named 'minpack._libminpack'
What is my oversight?
Wrt the Minpack Python bindings, the README says
That conda install can be as easy as
conda install -c conda-forge cminpack
. The pip install commandthan indeed works flawlessly - I am using Python 3.12.
Perhaps this conda install command could be added to the README, since it took me a while to find
cminpack
; aminpack conda
web search yields r-minpack.lm and notcminpack
.I am not sure if
conda install conda-forge::r-minpack.lm
+ the pip install command would also provide the Python bindings. I guess not, but I did not try.