Skip to content

[bug] Install of bactopia 3.2.0 not working on apple silicon due to wget not being available on it from anaconda #611

Open
@kimleeng

Description

@kimleeng

Description
Wanted to try bactopia on my m1 mac. Downloaded it via pixi (also tried conda) and on initial run (bactopia -h) I got an error. Looking into it it appears that .bactopia/conda/bioconda--gnu-wget-1.18 (https://anaconda.org/bioconda/gnu-wget/files) is only available on osx64 and thus not m1 architecture.

Steps to Reproduce
Steps to reproduce the behavior:

bactopia -h
!!ERROR!!
ERROR    2025-04-11 09:31:17:root:ERROR - Error creating Conda environment, retrying after short sleep.                               download.py:374

 2025-04-11 09:33:54:root:ERROR - External command failed with exit code 1!                                                       utils.py:45
                                                                                                                                                                         
                             Command:                                                                                                                                    
                             bash -c 'rm -rf /Users/adjusted_user/.bactopia/conda/bioconda--gnu-wget-1.18 && mamba create -y -p                                                
                             /Users/adjusted_user/.bactopia/conda/bioconda--gnu-wget-1.18 -c conda-forge -c bioconda bioconda::gnu-wget=1.18'                                  
                                                                                                                                                                         
                             Standard output:                                                                                                                            
                             conda-forge/noarch                                          Using cache                                                                     
                             conda-forge/osx-arm64                                       Using cache                                                                     
                             bioconda/noarch                                             Using cache                                                                     
                             bioconda/osx-arm64                                          Using cache                                                                     
                                                                                                                                                                         
                             Standard error:                                                                                                                             
                             error    libmamba Could not solve for environment specs                                                                                     
                                 The following package could not be installed                                                                                            
                                 └─ gnu-wget =1.18 * does not exist (perhaps a typo or a missing channel).                                                               
                             critical libmamba Could not solve for environment specs        

Expected Behavior
A description of what is expected to happen.

Execution Environment

  • Bactopia Version: 3.2.0
  • OS: Mac
  • Environment: Pixi and Conda attempted

Additional Information
As I just tried this out I have no idea if the software used to or never worked on m1, if it's just this one issue then detecting os and allowing wget alternative should solve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions