# Cannot locate plug-in directory for Avogadro 2 in Windows

**URL:** <https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819>\
**Category:** Documentation\
**Created:** [October 11, 2018, 6:04pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819 "2018-10-11T18:04:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbsezginel](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/kbsezginel/32/484_2.png) [@kbsezginel](https://discuss.avogadro.cc/u/kbsezginel)\
**Post date:** [October 11, 2018, 6:04pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/1 "2018-10-11T18:04:32Z")

</div>

I am having trouble locating the plug-in directory in Windows. I have checked the `AppLocalDataLocation` in [Qt standard paths](http://doc.qt.io/qt-5/qstandardpaths.html) however none of the directories listed there were created during installation. I have tried creating them myself and adding an example plug-in (flattenZ.py) without any luck. Could anyone provide a working plug-in directory for Windows? Thanks!

I am using Avogadro 2 (1.91.0) installed using the Win64 installer on Windows 10.

Kutay

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [October 11, 2018, 6:33pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/2 "2018-10-11T18:33:57Z")

</div>

Plugins are checked in subdirectories of the `appLocalDataLocation` based on script type. Here’s my example on Mac:

 ![04%20PM](https://discuss.avogadro.cc/uploads/default/original/1X/c05446a9df0c5183b8406dbc7e0ebfe14d381af4.png)

If you put it under `workflows` does it show up?

(BTW, the name will transition to `commands` instead of `workflows` soon - I just haven’t had time to finish the patch.)

---

<div class="post-metadata">

**Author:** ![kbsezginel](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/kbsezginel/32/484_2.png) [@kbsezginel](https://discuss.avogadro.cc/u/kbsezginel)\
**Post date:** [October 11, 2018, 6:50pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/3 "2018-10-11T18:50:47Z")

</div>

I have tried putting it under `workflows` directory however it still didn’t show up. It looks like there are 5 `AppLocalDataLocation` directories:

- `C:/Users/<USER>/AppData/Local/<APPNAME>`
- `C:/ProgramData/<APPNAME>`
- `<APPDIR>`
- `<APPDIR>/data`
- `<APPDIR>/data/<APPNAME>`

Assuming `<APPNAME>` is Avogadro2 I placed the scripts as follow:

- `C:\Users\kutay\AppData\Local\Avogadro2\workflows`
- `C:\ProgramData\Avogadro2\workflows`

Neither of those directories existed so maybe I am getting the `<APPNAME>` wrong?

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [October 11, 2018, 7:19pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/4 "2018-10-11T19:19:46Z")

</div>

`APPNAME` is Avogadro - but you can check on Windows fairly easily. If you start up Avogadro2 on a console, it will spit out a list of the directories it’s checking.

---

<div class="post-metadata">

**Author:** ![kbsezginel](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/kbsezginel/32/484_2.png) [@kbsezginel](https://discuss.avogadro.cc/u/kbsezginel)\
**Post date:** [October 11, 2018, 7:38pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/5 "2018-10-11T19:38:12Z")

</div>

I switched the `Avogadro2` to `Avogadro` but I still cannot see the plug-in. I previously tried running the executable from the console hoping it would print the directories it’s searching (that’s how I found them in Linux) however it doesn’t print anything.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [May 27, 2022, 12:03pm UTC](https://discuss.avogadro.cc/t/cannot-locate-plug-in-directory-for-avogadro-2-in-windows/2819/7 "2022-05-27T12:03:25Z")

</div>

Yes, it seems like you were using a really old version.

Try a [nightly build for Windows](https://nightly.link/OpenChemistry/avogadrolibs/workflows/build_cmake/master/Win64.exe.zip)
