# Abipy workdir-error

**URL:** <https://discourse.abinit.org/t/abipy-workdir-error/3453>\
**Category:** Other tools and postprocessing in ABINIT\
**Created:** [January 2, 2024, 11:49am UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453 "2024-01-02T11:49:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marina](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Marina](https://discourse.abinit.org/u/Marina)\
**Post date:** [January 2, 2024, 11:49am UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453/1 "2024-01-02T11:49:12Z")

</div>

Hello,  
first: happy new year 🥳  
I installed abipy via pip and now tried to use  
abiopen.py but face a workdir error:

File “$HOME/anaconda3/lib/python3.7/site-packages/abipy/tools/plotting.py”, line 21, in   
from abipy.tools.iotools import dataframe\_from\_filepath  
File “”, line 1  
(workdir=)

The same scours when running the core tests. Can someone help me to properly fix this?

Best,  
Marina

---

<div class="post-metadata">

**Author:** ![fgoudreault](https://discourse.abinit.org/user_avatar/discourse.abinit.org/fgoudreault/32/104_2.png) [@fgoudreault](https://discourse.abinit.org/u/fgoudreault)\
**Post date:** [January 8, 2024, 5:26pm UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453/2 "2024-01-08T17:26:19Z")

</div>

Happy new year Marina! Thanks for reporting this problem. Could you perhaps give us more information: OS, python version, pip version? Could you copy paste us the full error traceback?

Did you follow the [pymatgen](https://pymatgen.org/installation.html) and [abipy](http://abinit.github.io/abipy/installation) installation guides? Abipy relies a lot on pymatgen and it might be tricky to install.

Cheers,

Felix

---

<div class="post-metadata">

**Author:** ![Marina](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Marina](https://discourse.abinit.org/u/Marina)\
**Post date:** [January 22, 2024, 11:07am UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453/3 "2024-01-22T11:07:41Z")

</div>

Hello Felix,  
thanks for your reply!  
I followed the abipy installation guide.  
OS: Ubuntu 20.04.6 LTS  
Python 3.7.15  
pip 22.2.2

abiopen.py Test\_DS22\_GSR.nc --expose -sns=talk  
Traceback (most recent call last):  
File “/home/NAME/anaconda3/bin/abiopen.py”, line 14, in   
import abipy.tools.cli\_parsers as cli  
File “/home/NAME/anaconda3/lib/python3.7/site-packages/abipy/ **init**.py”, line 17, in   
from abipy.core import release  
File “/home/NAME/anaconda3/lib/python3.7/site-packages/abipy/core/ **init**.py”, line 4, in   
from .structure import \*  
File “/home/NAME/anaconda3/lib/python3.7/site-packages/abipy/core/structure.py”, line 30, in   
from abipy.tools.plotting import add\_fig\_kwargs, get\_ax\_fig\_plt, get\_axarray\_fig\_plt, add\_plotly\_fig\_kwargs  
File “/home/NAME/anaconda3/lib/python3.7/site-packages/abipy/tools/plotting.py”, line 21, in   
from abipy.tools.iotools import dataframe\_from\_filepath  
File “”, line 1  
(workdir=)

Cheers,  
Marina

---

<div class="post-metadata">

**Author:** ![Marina](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Marina](https://discourse.abinit.org/u/Marina)\
**Post date:** [February 26, 2024, 10:54am UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453/4 "2024-02-26T10:54:57Z")

</div>

Hello,  
I reinstalled and after solving version problems (routine from netcdf4 names changed) abipy seems to be working.  
Best,  
Marina

---

<div class="post-metadata">

**Author:** ![gingras.ol](https://discourse.abinit.org/user_avatar/discourse.abinit.org/gingras.ol/32/275_2.png) [@gingras.ol](https://discourse.abinit.org/u/gingras.ol)\
**Post date:** [February 27, 2024, 6:28pm UTC](https://discourse.abinit.org/t/abipy-workdir-error/3453/5 "2024-02-27T18:28:11Z")

</div>


