Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0'. #952

Open
zombiebride226 opened this issue Feb 11, 2024 · 3 comments

Comments

@zombiebride226
Copy link

Dear all, I am using apple silicon M1 max, Ventura 13.6.4 system. Because the conda.pkg is incompatible with my pc,so I used bash to install miniconda or anaconda or miniforge on my pc, but an error always showed up while I run [CONDA_SUBDIR=osx-64 conda env create -n qiime2-2023.7 --file qiime2-2023.7-py38-osx-conda.yml]

It shows below:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(945): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0'.
Rolling back transaction: done

LinkError: post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.9-r42hdfd78af_0
location of failed script: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==

==> script output <==
stdout:
stderr: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/tab-qiime: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/qiime: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/python: bad interpreter: Bad CPU type in executable
++ dirname -- /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/installBiocDataPackage.sh

  • SCRIPT_DIR=/Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/../share/bioconductor-data-packages
  • json=/Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/../share/bioconductor-data-packages/dataURLs.json
    ++ yq '."genomeinfodbdata-1.2.9".fn' /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/../share/bioconductor-data-packages/dataURLs.json
    /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/installBiocDataPackage.sh: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/yq: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/python3.8: bad interpreter: Bad CPU type in executable
  • FN=

return code: 126

截屏2024-02-11 8 54 11

--I tried curl download
--I tried many times uninstall and reinstall qiime2, or miniconda miniforge anaconda,
If anyone could give me any comments and suggestions, would be really appreciated!
Thanks!

@zombiebride226
Copy link
Author

I deleted all of my anaconda, and reinstalled the miniconda again, still error.
I really need to solve this problem, please, thanks a lot!
Best wishes.

@daler
Copy link
Member

daler commented Feb 11, 2024

Mac M1 is an ARM CPU, which is an architecture that bioconda does not yet support. This error is a clue:

/Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/yq: /Users/nakajimalab/anaconda3/envs/qiime2-2023.7/bin/python3.8: bad interpreter: Bad CPU type in executable

@zombiebride226
Copy link
Author

Mac M1 is an ARM CPU, which is an architecture that bioconda does not yet support. This error is a clue:
Hi, thank you for your reply, and I have succeeded to install qiime2 this Monday morning, so the problem has been solved! Although I don't know why, it was just automatically healed, and installed processes were as usual. So happy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants