Comments (6)
@hmamine , we don't have enough information to help diagnose your problem. What version of anvi'o? What operating system version? What is your architecture (intel or M1/M2 mac)?
In addition, since clang
is giving the error, I would ask you to run clang --version
and paste the output here.
And finally, I would suggest trying the solutions recommended here: https://anvio.org/install/macos/stable/#issues-with-the-c-compiler
It is a similar problem, so one of those solutions might work.
from anvio.
@ivagljiva , thank you, I have indicated these below
The solution indicated in there could not solve the current issue. I have exported CC and CXX, then run pip.
The system is M2 sonoma 14.2 (23C64).
~/Downloads ❯ clang --version 31s anvio-dev 22:10:53 clang version 16.0.6 Target: x86_64-apple-darwin23.2.0 Thread model: posix InstalledDir: /Users/user/Software/miniforge3/envs/anvio-dev/bin
from anvio.
Hmm, I wonder if the issue has to do with the discrepancy between your computer architecture (M2, which is ARM) and the clang target architecture (which is showing up as x86_64-apple-darwin23.2.0
). But if you ran conda config --env --set subdir osx-64
before creating the environment as suggested on the installation page, then I think this is not the problem.
However, I also notice that you are using miniforge rather than miniconda. We only test our installation instructions with miniconda, so the instructions as written may not work for your setup.
from anvio.
The only potential solution I can think of at the moment is to re-install clang and try again.
from anvio.
Thanks to @mjfos2r, we found a workaround. 😊
There is an open issue for [datrie](https://github.com/pytries/datrie/issues)
We changed to [llvm compiler](https://github.com/llvm/llvm-project)
, then mamba install datrie. Afterward, complete the pip install.
from anvio.
Great! Very glad you solved it :)
from anvio.
Related Issues (20)
- [FEATURE REQUEST] Annotate which KOfams were added by our bitscore relaxation heuristic
- [FEATURE REQUEST] A conda package for anvi'o with a minimal installation option HOT 1
- [BUG] `--prodigal-single-mode` breaks metagenomic workflow HOT 5
- [BUG] anvio-cluster-contigs fails with Generate input data
- [BUG] anvi-meta-pan-genome does not allow me to use gene calls not from prodigal HOT 10
- [BUG] Missing USearch in installation instruction and workflow DAG declarations HOT 1
- [BUG] contigs.db has issues when inputing aa_sequence in the external-gene-call file HOT 9
- [BUG] MaxBin2 failing due to one missing coverage HOT 2
- [BUG] anvio installation HOT 15
- [BUG] Pandas dataframe has no attribute 'append' HOT 4
- [BUG] Pandas error in `anvi-get-codon-frequencies` HOT 6
- [BUG] ERROR in running anvi-script-gen_stats_for_single_copy_genes.R HOT 1
- [FEATURE REQUEST] Using external gene clusters for anvi-pan-genome HOT 1
- [FEATURE REQUEST] Case-sensitive search in `anvi-export-locus` HOT 6
- [BUG] The CONTIGS.db file is 0kb and slurm job is still running HOT 2
- Interactive interface, TypeError: Cannot read properties of undefined (reading 'angle') when trying to organize by length HOT 5
- [FEATURE REQUEST] adding contigs database names to deflines of exported genes/proteins fasta HOT 2
- [BUG] cannot import vbgmm in concoct
- [BUG] anvi-pan-genome - diamond BUG
- Running anvio through snakemake, no errors but the job submission stops running HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anvio.