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

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

Open
randomprogramming opened this issue May 2, 2020 · 9 comments
Assignees

Comments

@randomprogramming
Copy link

When running conda install mpi4py=3.0.3 I am getting this error:


Collecting package metadata: done
Solving environment: failed

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

  - mpi4py=3.0.3

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/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

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I am on windows 10, with python 3.8.2 and conda 4.6.14

@KoolenDasheppi
Copy link

If you use pip install mpi4py it might work, it installed for me that way.

@san7988
Copy link

san7988 commented May 2, 2020

Hi,

On MacOS, the exact command works for me : conda install mpi4py=3.0.3.
Some SO questions like this suggest installing MS MPI first to make mpi4py work on windows.
Maybe you can try that if not already done. I hope it helps.

@zacharyneveu
Copy link

Had the same problem on Ubuntu 18.0.4. Solution was to run conda install -c anaconda mpi4pi=3.0.3 instead.

@zacharyneveu
Copy link

Added a PR here: #28

@jongwook
Copy link
Contributor

jongwook commented May 7, 2020

@zacharyneveu I tried to reproduce in various OS including ubuntu 18.04 but conda install mpi4py=3.0.3 worked fine, referring to pkgs/main/linux-64::mpi4py-3.0.3-py37h028fd6f_0. Are you in 32bit by any chance?

I did see the OP's issue on Windows, but it has a larger issue (of not being supported, see #36 ). I also see in a Windows port they used pip install mpi4py instead, but manually installed MPI.

@tavakkolidjawad
Copy link

If you use pip install mpi4py it might work, it installed for me that way.
Thanks, it works for me too

@nikjoorobert2
Copy link

I have the same problem. I installed gtts using pip, but I am using Anaconda Spyder for development, and it doesnt recognise packages Ive installed using pip. When I try to install gtts using Conda I get a message "The following packages are not available from current channels". Hit a brick wall here.

@cicinwad
Copy link

When running conda install mpi4py=3.0.3 I am getting this error:


Collecting package metadata: done
Solving environment: failed

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

  - mpi4py=3.0.3

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/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

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I am on windows 10, with python 3.8.2 and conda 4.6.14

Windows 8 will work.

@iL0g1c
Copy link

iL0g1c commented Aug 1, 2023

I use Windows x64, and I searched around on anaconda.org for a working channel.
Apparently, this command still works.
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.1 -c pytorch -c

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

9 participants