abinit / abipy

Open-source library for analyzing the results produced by ABINIT
http://abinit.github.io/abipy
Other
117 stars 96 forks source link

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

Closed lcodacal closed 6 years ago

lcodacal commented 6 years ago

Hi, After successfully following the steps in the "Anaconda Howto" section (http://abinit.github.io/abipy/installation.html#contents), I got the following "strange" error message when trying to install abipy:

[ogando@PedroBala:~]$ conda install abipy -c abinit Solving environment: failed

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

Current channels:

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.

Could you, please, help me ? All the best, Luis

gmatteo commented 6 years ago

Which python version are you using? Activate the conda environment and then use python --version.

lcodacal commented 6 years ago

Hi, Thank you for your attention ! The answer to your question is:

[ogando@PedroBala:~]$ source anaconda3/bin/activate root (base) [ogando@PedroBala:~]$ python --version Python 3.6.6 :: Anaconda, Inc. (base) [ogando@PedroBala:~]$

All the best, Luis

Em qua, 7 de nov de 2018 às 08:05, gmatteo notifications@github.com escreveu:

Which python version are you using? Activate the conda environment and then use python --version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abinit/abipy/issues/174#issuecomment-436571472, or mute the thread https://github.com/notifications/unsubscribe-auth/AqvVkaZ6aK8_i71OmK1opOXWpkuXzIo7ks5usrB5gaJpZM4YRCTw .

gmatteo commented 6 years ago

I tried to install AbiPy with:

conda install abipy -c abinit

on Mac and Linux and python 3.6.6 and the installation completed successfully (windows is not supported) Did you add conda-forge and matsci to the default channels with

conda config --add channels conda-forge
conda config --add channels matsci
conda config --add channels abinit

If this does not solve your problem, you may try:

pip install abipy

inside your conda environment.

lcodacal commented 6 years ago

Thank you ! It worked ! It looks like the channels addition was the missing step. All the best, Luis

Em qua, 7 de nov de 2018 às 15:58, gmatteo notifications@github.com escreveu:

I tried to install AbiPy with:

conda install abipy -c abinit

on Mac and Linux and python 3.6.6 and the installation completed successfully (windows is not supported) Did you add conda-forge and matsci to the default channels with

conda config --add channels conda-forge conda config --add channels matsci conda config --add channels abinit

If this does not solve your problem, you may try:

pip install abipy

inside your conda environment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abinit/abipy/issues/174#issuecomment-436718098, or mute the thread https://github.com/notifications/unsubscribe-auth/AqvVkYt-WC1cSUtzNkRMGnbQJuYSGUh7ks5usx9XgaJpZM4YRCTw .

lcodacal commented 6 years ago

I believe that I found the source of my mistake. If someone tries to install AbiPy following the instructions in http://abinit.github.io/abipy/installation#anaconda-howto , the channels addition step is absent (differently from https://github.com/abinit/abipy ). Perhaps, including this step there will prevent other people bothering you. Thank you again ! All the best, Luis

Em qua, 7 de nov de 2018 às 16:17, gmatteo notifications@github.com escreveu:

Closed #174 https://github.com/abinit/abipy/issues/174.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abinit/abipy/issues/174#event-1952369202, or mute the thread https://github.com/notifications/unsubscribe-auth/AqvVkdqYEf-QEca1RnMDJD170UIebZYdks5usyPRgaJpZM4YRCTw .

Motanya-J commented 4 years ago

I tried to install AbiPy with:

conda install abipy -c abinit

on Mac and Linux and python 3.6.6 and the installation completed successfully (windows is not supported) Did you add conda-forge and matsci to the default channels with

conda config --add channels conda-forge
conda config --add channels matsci
conda config --add channels abinit

If this does not solve your problem, you may try:

pip install abipy

inside your conda environment.

This worked for me... Thank you.