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

Installation problem #10

Open
maktabdar opened this issue Jul 11, 2023 · 6 comments
Open

Installation problem #10

maktabdar opened this issue Jul 11, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@maktabdar
Copy link

Hi @lmc297,
I get the following error when trying to install BTyper3:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:


I'm using a fresh installation of anaconda on windows 11.

@althonos
Copy link
Collaborator

Hi @maktabdar, could you try to run conda install pyfastani? I think that with the recent Bioconda update the package is broken for Windows; check if that's the error and I'll try to upload a Windows package on my side.

@maktabdar
Copy link
Author

Thanks, @althonos. I just tried it and here's the error message:

Retrieving notices: ...working... done
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - pyfastani

Current channels:

  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

@althonos
Copy link
Collaborator

Hi @maktabdar, I'm still working out the way to get Bioconda to build packages for Windows; but in the meantime, you can pip install pyfastani in your Conda environment, and then trying conda install btyper3 again, I think this will work as a temporary fix.

@maktabdar
Copy link
Author

Thanks, @althonos. I just got to try the pip installation an unfortunately it fails with this error:

ERROR: Failed building wheel for pyfastani
Failed to build pyfastani
ERROR: Could not build wheels for pyfastani, which is required to install pyproject.toml-based projects

It seems to be a compiler error. I will try it with wsl to find it weather it works on Linux.

@maktabdar
Copy link
Author

OK, I managed to install pyfastani after installing gcc and g++. However, I got the following error when I tried to install btyper3:

 conda install -c bioconda btyper3
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.35=0
  - feature:|@/linux-64::__glibc==2.35=0

Your installed version is: 2.35

any ideas?

@althonos
Copy link
Collaborator

@maktabdar : Is this in the WSL environment?

Could you actually try in the base Windows environment pip install pyfastani -vv and copy the full traceback here? If this is a compilation error on Windows I will fix it in pyfastani, it's not normal that you can't install it even this way.

@althonos althonos added the bug Something isn't working label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants