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

Creating conda environment throws error with the latest [3.3.2] version #192

Open
anwarMZ opened this issue Jan 26, 2024 · 1 comment
Open
Assignees
Labels
Status: In Progress Has been assigned and is being worked on.

Comments

@anwarMZ
Copy link

anwarMZ commented Jan 26, 2024

Hi, I have previously installed 3.3.1 through conda and it worked well. Now I was trying to install 3.3.2 as per the instructions here but running into an error.

mamba create -c bioconda -c conda-forge -n chewbbaca=3.3.2 "chewbbaca=3.3.2"

                 __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.1.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['chewbbaca=3.3.2']

pkgs/r/noarch                                               Using cache
Could not solve for environment specs
Encountered problems while solving:
  - nothing provides requested chewbbaca 3.3.2**

The environment can't be solved, aborting the operation

I then tried to reinstall 3.3.1 but was still getting the same error.

Finally, I removed the version from the mamba command (see below), I saw Chewbbaca v3.2.0 being installed.

mamba create -c bioconda -c conda-forge -n chewbbaca=3.3.2 "chewbbaca"


                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.1.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['chewbbaca']

pkgs/main/linux-64                                            No change
pkgs/r/linux-64                                               No change
pkgs/r/noarch                                                 No change
pkgs/main/noarch                                              No change
bioconda/linux-64                                             No change
bioconda/noarch                                      5.1MB @   1.4MB/s  3.8s
conda-forge/noarch                                  15.4MB @   3.4MB/s  4.9s
conda-forge/linux-64                                37.6MB @   4.8MB/s  8.3s
Transaction

  Prefix: /home/mzanwar/.conda/envs/chewbbaca-3.3.2

  Updating specs:

   - chewbbaca


  Package                         Version  Build                Channel                    Size
─────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                     0.1  conda_forge          conda-forge/linux-64     Cached
  + _openmp_mutex                     4.5  2_gnu                conda-forge/linux-64     Cached
  + biopython                        1.83  py312h98912ed_0      conda-forge/linux-64     Cached
  + blast                          2.14.0  h7d5a4b4_1           bioconda/linux-64         145MB
  + brotli-python                   1.1.0  py312h30efb56_1      conda-forge/linux-64     Cached
  + bzip2                           1.0.8  hd590300_5           conda-forge/linux-64     Cached
  + c-ares                         1.26.0  hd590300_0           conda-forge/linux-64      163kB
  + ca-certificates            2023.11.17  hbcca054_0           conda-forge/linux-64     Cached
  + certifi                    2023.11.17  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + charset-normalizer              3.3.2  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + chewbbaca                       3.2.0  pyhdfd78af_0         bioconda/noarch             6MB
  + clustalw                          2.1  h4ac6f70_9           bioconda/linux-64         316kB
  + curl                            8.5.0  hca28451_0           conda-forge/linux-64     Cached
  + entrez-direct                    16.2  he881be0_1           bioconda/linux-64        Cached
  + gettext                        0.21.1  h27087fc_0           conda-forge/linux-64     Cached
  + idna                              3.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + importlib-metadata              7.0.1  pyha770c72_0         conda-forge/noarch       Cached
  + isodate                         0.6.1  pyhd8ed1ab_0         conda-forge/noarch       Cached

Note + chewbbaca 3.2.0 pyhdfd78af_0 bioconda/noarch 6MB in the stdout

Any help is appreciated.

Best,
Zohaib

@rfm-targa rfm-targa self-assigned this Jan 28, 2024
@rfm-targa rfm-targa added the Status: In Progress Has been assigned and is being worked on. label Jan 28, 2024
@rfm-targa
Copy link
Contributor

Hello @anwarMZ,

I used the commands in the docs to install chewBBACA v3.3.2, which was installed without any issues. I used conda with the libmamba solver to create an environment with chewBBACA and another environment where I installed chewBBACA with pip.
I noticed that mamba used the cache when you tried to install chewBBACA v3.3.2. Maybe it is a cache issue that you can solve by carefully using the clean command.
Let me know if the conda+libmamba or conda+pip options solve the issue.

Kind regards,

Rafael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Has been assigned and is being worked on.
Projects
None yet
Development

No branches or pull requests

2 participants