Can't import site.AverageBondLength

Hi Matminers:

it seems like I can’t import AverageBondLength with Jupyternotebook. Can anyone help?

from matminer.featurizers.site import AverageBondLength

``


<details class='elided'>
<summary title='Show trimmed content'>&#183;&#183;&#183;</summary>

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-66-725103e67a38> in <module>()
----> 1 from matminer.featurizers.site import AverageBondLength
ImportError: cannot import name 'AverageBondLength'

Is matminer installed in the correct environment?

e.g., does “import matminer” work in your Jupyter environment?

···

Best,
Anubhav

Yes, import matminer works fine and I can also import other site featurizers like AGNIFingerprints

在 2018年11月1日星期四 UTC-5下午2:12:34,Anubhav Jain写道:

···

Is matminer installed in the correct environment?

e.g., does “import matminer” work in your Jupyter environment?

On Thu, Nov 1, 2018 at 11:57 AM Jason [email protected] wrote:

Hi Matminers:

it seems like I can’t import AverageBondLength with Jupyternotebook. Can anyone help?

from matminer.featurizers.site import AverageBondLength

``

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-66-725103e67a38> in <module>()
----> 1 from matminer.featurizers.site import AverageBondLength
ImportError: cannot import name 'AverageBondLength'

You received this message because you are subscribed to the Google Groups “matminer” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

For more options, visit https://groups.google.com/d/optout.


Best,
Anubhav

Hi Jason,

What version of matminer are you using? You might be using an old version…

You can update with pip or you can git pull to get the new version

···

On Thursday, November 1, 2018 at 1:25:23 PM UTC-7, Jason wrote:

Yes, import matminer works fine and I can also import other site featurizers like AGNIFingerprints

在 2018年11月1日星期四 UTC-5下午2:12:34,Anubhav Jain写道:

Is matminer installed in the correct environment?

e.g., does “import matminer” work in your Jupyter environment?

On Thu, Nov 1, 2018 at 11:57 AM Jason [email protected] wrote:

Hi Matminers:

it seems like I can’t import AverageBondLength with Jupyternotebook. Can anyone help?

from matminer.featurizers.site import AverageBondLength

``

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-66-725103e67a38> in <module>()
----> 1 from matminer.featurizers.site import AverageBondLength
ImportError: cannot import name 'AverageBondLength'

You received this message because you are subscribed to the Google Groups “matminer” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

For more options, visit https://groups.google.com/d/optout.


Best,
Anubhav

See also https://hackingmaterials.github.io/matminer/installation.html for update instructions

···

Best,
Anubhav