Download error

67 views
Skip to first unread message

Matt Morgan

unread,
Apr 22, 2024, 1:31:18 PMApr 22
to Biociphers
Am getting the following error when trying to download 

Python.framework/Versions/3.10/include/python3.10 -c rna_majiq/src/build.cpp -o build/temp.macosx-13-arm64-cpython-310/rna_majiq/src/build.o -fopenmp

      clang: error: unsupported option '-fopenmp'

      error: command '/usr/bin/clang' 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 rna-majiq

  Building wheel for rna-voila (pyproject.toml) ... done

  Created wheel for rna-voila: filename=rna_voila-2.5.6.dev1+g8423f68b-py3-none-any.whl size=2512668 sha256=2e1f94d201f231e17a844a612146c409a2b837ecf66992d33efbf06233e093cb

  Stored in directory: /private/var/folders/jn/88kl8hv50z34sqy261w63c_m0000gn/T/pip-ephem-wheel-cache-x5zg912s/wheels/e6/a7/79/8e90b3529f137e90a4554add48a8091a55e09e081cc124928d

Successfully built rna_majiq_meta rna-voila

Failed to build rna-majiq

ERROR: Could not build wheels for rna-majiq, which is required to install pyproject.toml-based projects


I've got a friend also encountering the same error. 

Any help appreciated. 

Thanks


San Jewell

unread,
Apr 22, 2024, 7:41:07 PMApr 22
to Biociphers
Hello,

This error is caused when using clang instead of gcc for compiling. Please install gcc/g++ using brew or whatever method you deem appropriate and then export variables like:

$ export C=`which gcc`
and
$ export CXX=`which g++`

Let me know if it helps
-San

Matt Morgan

unread,
Apr 23, 2024, 8:13:10 AMApr 23
to Biociphers
Hi,
this didn't seem to work unfortunately
I still get the same error. 

San Jewell

unread,
Jun 17, 2024, 9:07:15 AMJun 17
to Biociphers
Hi,

Can you pose the result of "which gcc" and "which g++" ? It's possible that you simply don't have them installed.

Thanks.
Reply all
Reply to author
Forward
0 new messages