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
The tmscore library expects to work with iminuit 1.x.x version. When I try to run tmscore with iminuit 2.2.x version, it is giving an error saying wrong constructor being called. However, when I try to install iminuit in my ubuntu 22.04 LTS using command pip install 'iminuit<2', I am getting the following installation error.
I understand this is iminuit problem. Please help me with the right installation combination for python 3.10 on ubuntu to use tmscore.
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWARNINGMSG=1 -DROOT_Math_VecTypes=1 -DMATH_NO_PLUGIN_MANAGER=1 -I/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/extern/root/math/minuit2/inc -I/home/couchbucks/Documents/saketh/cpe/env/lib/python3.10/site-packages/numpy/core/include -I/home/couchbucks/Documents/saketh/cpe/env/include -I/usr/include/python3.10 -c /tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp -o build/temp.linux-x86_64-3.10/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.o -std=c++11 -Wno-shorten-64-to-32 -Wno-parentheses -Wno-unused-variable -Wno-sign-compare -Wno-cpp -Wno-deprecated-declarations
/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’:
/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp:36587:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
36587 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^~~~~~~~~~~
| _PyGen_yf
/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp:36592:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
36592 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^~~~~~~~~~~
| _PyGen_yf
/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’:
/tmp/pip-install-a15m92e5/iminuit_b4bcb3f0bf8f40debf078e4b0407f073/src/iminuit/_libiminuit.cpp:36676:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
36676 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
| ^~~~~~~~~~~
| _PyGen_yf
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-shorten-64-to-32’ may have been intended to silence earlier diagnostics
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for iminuit
Running setup.py clean for iminuit
The text was updated successfully, but these errors were encountered:
The tmscore library expects to work with iminuit 1.x.x version. When I try to run tmscore with iminuit 2.2.x version, it is giving an error saying wrong constructor being called. However, when I try to install iminuit in my ubuntu 22.04 LTS using command
pip install 'iminuit<2'
, I am getting the following installation error.I understand this is iminuit problem. Please help me with the right installation combination for python 3.10 on ubuntu to use tmscore.
The text was updated successfully, but these errors were encountered: