Installation

84 views
Skip to first unread message

Valentin Kovalev

unread,
Dec 20, 2020, 6:13:10 AM12/20/20
to pycalphad
Dear collegues!
I work in PyCharm and I've downloaded pycalphad module on PyPI website and there are few problems. I tried to install it via Anaconda Prompt according to instructions on the website. Nothing has changed. Can you help me with an installation of this module?

brandon...@gmail.com

unread,
Dec 20, 2020, 10:29:14 AM12/20/20
to Valentin Kovalev, pycalphad
Welcome to pycalphad! 

Installing from PyPI via `pip install` is not currently supported because pycalphad depends on some C/C++ libraries that are difficult to install yourself, but can be easily managed using Anaconda.

We’re you able to verify that pycalphad successfully installed by running `python` from the Anaconda Prompt? You can check that the version of pycalphad is the latest release by running the following from the Python prompt:

```
import pycalphad
print(pycalphad.__version__)
```

The current released version is `0.8.4`.

If that works and you want to use it in PyCharm, then you need to make sure that PyCharm is using the Python that came with Anaconda. For that, this article may be helpful: https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#add-existing-interpreter


Cheers,
Brandon Bocklund

On Dec 20, 2020, at 6:13 AM, Valentin Kovalev <kovvn9...@gmail.com> wrote:

Dear collegues!

I work in PyCharm and I've downloaded pycalphad module on PyPI website and there are few problems. I tried to install it via Anaconda Prompt according to instructions on the website. Nothing has changed. Can you help me with an installation of this module?

--
You received this message because you are subscribed to the Google Groups "pycalphad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pycalphad+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pycalphad/37bebb44-e2d3-41c9-be98-664a989cb065n%40googlegroups.com.

Ivan Valencia

unread,
Mar 24, 2021, 3:43:33 PM3/24/21
to pycalphad
Dear collegues!!!
reviewing the email from above, I realized that Im having the same issue when I try to install Pycalphad.
Attached you will find a print of the error that keeps appering when I try to install it.
I used the commands: conda install pycalphad, and conda install pycalphad-0.8.4
This error mentions something about missing channels.
Can someone help me to fix it and be able to install it correctly ?



Thanks!error-pycalphad.png

Brandon Bocklund

unread,
Mar 24, 2021, 4:05:43 PM3/24/21
to pycalphad
Hi Ivan,

It looks like you are missing the conda-forge channel. You can do a one-time install from the conda-forge channel with

    conda install -c conda-forge pycalphad

Alternatively, you can permanently add conda-forge to you channels list and install pycalphad by

    conda config --add channels conda-forge
    conda install pycalphad


Let us know if you have any more questions! FYI, we encourage the use of GitHub Discussions for Q&A type questions and pycalphad Gitter channel for chat.

Cheers,
Brandon Bocklund
Reply all
Reply to author
Forward
0 new messages