I’m sorry to bother you. I’m trying to install Majiq and have an error message.
The problem seems to come from the gcc command. I’ve copied below the whole process and error message. The end of it says:
Looking at a recent post on the google forum, I’ve seen that it could be a problem of configuration of miniconda and gcc/ld. Therefore, I’ve tried to change the name of miniconda ld as advised in the post, using
I’ve then run the installation again and it didn’t work. The error message is the same (except the name of the temporary pip-install-folder)
Requirement already satisfied: Cython>=0.27.3 in ./miniconda3/envs/majiq/lib/python3.7/site-packages (from majiq) (0.29.6)
Requirement already satisfied: pysam>=0.14 in ./miniconda3/envs/majiq/lib/python3.7/site-packages (from majiq) (0.15.2)
Requirement already satisfied: numpy>=1.14.1 in ./miniconda3/envs/majiq/lib/python3.7/site-packages (from majiq) (1.16.2)
Collecting scipy>=1.1.0 (from majiq)
100% |████████████████████████████████| 24.8MB 349kB/s
Collecting h5py>=2.7.1 (from majiq)
100% |████████████████████████████████| 2.8MB 2.8MB/s
Collecting quicksect>=0.2.0 (from majiq)
100% |████████████████████████████████| 71kB 7.8MB/s
Collecting matplotlib>=2.1.2 (from majiq)
100% |████████████████████████████████| 13.0MB 732kB/s
Collecting cycler==0.10.0 (from majiq)
Collecting Jinja2==2.10 (from majiq)
100% |████████████████████████████████| 133kB 9.2MB/s
Collecting MarkupSafe==1.0 (from majiq)
Collecting psutil==5.4.3 (from majiq)
100% |████████████████████████████████| 419kB 8.4MB/s
Collecting pyparsing==2.2.0 (from majiq)
100% |████████████████████████████████| 61kB 7.1MB/s
Collecting python-dateutil==2.6.1 (from majiq)
100% |████████████████████████████████| 194kB 9.2MB/s
Collecting pytz==2018.3 (from majiq)
100% |████████████████████████████████| 512kB 7.0MB/s
Collecting six==1.11.0 (from majiq)
Collecting SQLAlchemy==1.2.4 (from majiq)
100% |████████████████████████████████| 5.6MB 1.7MB/s
Collecting kiwisolver>=1.0.1 (from matplotlib>=2.1.2->majiq)
100% |████████████████████████████████| 92kB 8.1MB/s
Requirement already satisfied: setuptools in ./miniconda3/envs/majiq/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib>=2.1.2->majiq) (40.8.0)
Building wheels for collected packages: majiq, quicksect, MarkupSafe, psutil, SQLAlchemy
Building wheel for majiq (setup.py) ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-jnygfbjv/wheels/00/3d/76/940444754a408b8ff1833f6b3b5986d046f3d20992e2c6ca63
Building wheel for quicksect (setup.py) ... error
Complete output from command /home/u/u230707/miniconda3/envs/majiq/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-pvy5rtw7/quicksect/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-pk9766xu --python-tag cp37:
running bdist_wheel
running build
running build_ext
skipping 'src/quicksect.c' Cython extension (up-to-date)
building 'quicksect' extension
creating build
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/src
gcc -pthread -B /home/u/u230707/miniconda3/envs/majiq/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/u/u230707/miniconda3/envs/majiq/include/python3.7m -c src/quicksect.c -o build/temp.linux-x86_64-3.7/src/quicksect.o
src/quicksect.c: In function ‘__Pyx_PyCFunction_FastCall’:
src/quicksect.c:9016:12: error: too many arguments to function ‘(PyObject * (*)(PyObject *, PyObject * const*, Py_ssize_t))meth’
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
^
src/quicksect.c: In function ‘__Pyx__ExceptionSave’:
src/quicksect.c:9402:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
*type = tstate->exc_type;
^
src/quicksect.c:9403:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
*value = tstate->exc_value;
^
src/quicksect.c:9404:17: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
*tb = tstate->exc_traceback;
^
src/quicksect.c: In function ‘__Pyx__ExceptionReset’:
src/quicksect.c:9411:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:9412:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:9413:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:9414:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = type;
^
src/quicksect.c:9415:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = value;
^
src/quicksect.c:9416:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = tb;
^
src/quicksect.c: In function ‘__Pyx__GetException’:
src/quicksect.c:9471:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:9472:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:9473:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:9474:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = local_type;
^
src/quicksect.c:9475:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = local_value;
^
src/quicksect.c:9476:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = local_tb;
^
src/quicksect.c: In function ‘__Pyx__ExceptionSwap’:
src/quicksect.c:10574:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:10575:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:10576:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:10577:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = *type;
^
src/quicksect.c:10578:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = *value;
^
src/quicksect.c:10579:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = *tb;
^
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for quicksect
Running setup.py clean for quicksect
Building wheel for MarkupSafe (setup.py) ... done
Stored in directory: /home/u/u230707/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
Building wheel for psutil (setup.py) ... done
Stored in directory: /home/u/u230707/.cache/pip/wheels/fe/33/84/baea3d665de2d1af7e8f827f3883811bba5e4149443ccf8191
Building wheel for SQLAlchemy (setup.py) ... done
Stored in directory: /home/u/u230707/.cache/pip/wheels/bc/0a/6a/9d6a6f3ee714fd2e910a3299786c6ce54599f46dbda4b0b2cd
Successfully built majiq MarkupSafe psutil SQLAlchemy
Failed to build quicksect
Installing collected packages: scipy, six, h5py, quicksect, pyparsing, python-dateutil, kiwisolver, cycler, matplotlib, MarkupSafe, Jinja2, psutil, pytz, SQLAlchemy, majiq
Running setup.py install for quicksect ... error
Complete output from command /home/u/u230707/miniconda3/envs/majiq/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-pvy5rtw7/quicksect/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-rmtelyag/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
skipping 'src/quicksect.c' Cython extension (up-to-date)
building 'quicksect' extension
creating build
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/src
gcc -pthread -B /home/u/u230707/miniconda3/envs/majiq/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/u/u230707/miniconda3/envs/majiq/include/python3.7m -c src/quicksect.c -o build/temp.linux-x86_64-3.7/src/quicksect.o
src/quicksect.c: In function ‘__Pyx_PyCFunction_FastCall’:
src/quicksect.c:9016:12: error: too many arguments to function ‘(PyObject * (*)(PyObject *, PyObject * const*, Py_ssize_t))meth’
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
^
src/quicksect.c: In function ‘__Pyx__ExceptionSave’:
src/quicksect.c:9402:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
*type = tstate->exc_type;
^
src/quicksect.c:9403:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
*value = tstate->exc_value;
^
src/quicksect.c:9404:17: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
*tb = tstate->exc_traceback;
^
src/quicksect.c: In function ‘__Pyx__ExceptionReset’:
src/quicksect.c:9411:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:9412:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:9413:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:9414:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = type;
^
src/quicksect.c:9415:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = value;
^
src/quicksect.c:9416:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = tb;
^
src/quicksect.c: In function ‘__Pyx__GetException’:
src/quicksect.c:9471:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:9472:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:9473:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:9474:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = local_type;
^
src/quicksect.c:9475:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = local_value;
^
src/quicksect.c:9476:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = local_tb;
^
src/quicksect.c: In function ‘__Pyx__ExceptionSwap’:
src/quicksect.c:10574:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
src/quicksect.c:10575:23: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
src/quicksect.c:10576:20: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
src/quicksect.c:10577:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’
tstate->exc_type = *type;
^
src/quicksect.c:10578:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = *value;
^
src/quicksect.c:10579:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = *tb;
^
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/u/u230707/miniconda3/envs/majiq/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-pvy5rtw7/quicksect/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-rmtelyag/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-pvy5rtw7/quicksect/