# Should "base install" include scripts?

**URL:** <https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593>\
**Category:** Development\
**Created:** [November 26, 2024, 6:04pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593 "2024-11-26T18:04:52Z")\
**Posts on this page:** 10\
**Page:** 1

<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:** [November 26, 2024, 6:04pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/1 "2024-11-26T18:04:52Z")

</div>

Okay, I’ve seen a number of [Issues · OpenChemistry/avogadrolibs · GitHub](https://github.com/openchemistry/avogadrolibs/issues) and threads on here about the various warning messages with scripts installed with Avogadro (e.g., [Cannot load scripts - #3 by ripes](https://discuss.avogadro.cc/t/cannot-load-scripts/6590/3))

These are of course from well-meaning users who think something is wrong.

Should we even bother to install any Python scripts with the base package, or should all of them be available as download plugins, which can include appropriate `pip` or `conda` requirements.

I’m leaning towards “all downloads” but I’m curious to hear thoughts.

---

<div class="post-metadata">

**Author:** ![Thomas](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/thomas/32/3403_2.png) [@Thomas](https://discuss.avogadro.cc/u/Thomas)\
**Post date:** [November 26, 2024, 9:24pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/2 "2024-11-26T21:24:26Z")

</div>

I would favor the approach which provides the core functionality by an installer, and Python based extensions as an only if needed/opt-in via pip/conda. Because development on the former is slower (so I presume), and when deemed ready for use, changes are more fundamental in the overall picture than the ones of a smaller functionality nested in the framework.

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [November 26, 2024, 9:33pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/3 "2024-11-26T21:33:59Z")

</div>

For those that have no dependencies I think it’s fine as is.

For ones that do I agree with you that probably having them download-only would be the best user experience.

Another option would be to make the error messages clearer, but I don’t think that completely solves the confusion.

---

<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:** [November 26, 2024, 9:51pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/4 "2024-11-26T21:51:08Z")

</div>

> [@matterhorn103](#):
>
> Another option would be to make the error messages clearer, but I don’t think that completely solves the confusion.

I’ve tried a few wordings, so I think I’m going with the separate downloads.

---

<div class="post-metadata">

**Author:** ![SteveW](https://discuss.avogadro.cc/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@SteveW](https://discuss.avogadro.cc/u/SteveW)\
**Post date:** [November 27, 2024, 9:51pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/5 "2024-11-27T21:51:05Z")

</div>

A description of how to install the scripts would be great, currently its a little unclear how to actually install them properly.

---

<div class="post-metadata">

**Author:** ![Thomas](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/thomas/32/3403_2.png) [@Thomas](https://discuss.avogadro.cc/u/Thomas)\
**Post date:** [November 27, 2024, 10:46pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/6 "2024-11-27T22:46:04Z")

</div>

@SteveW They rely on Python, so the first step is to have support for this programming language installed (e.g., by [python.org](https://www.python.org/)).  
Then start Avogadro, Extensions → Python Settings is used to check if the corresponding Python interpreter is found. In case of Windows, the displayed path should be something in line of `.../Python/3.13.0/x64/python3.exe`. Normally, Avogadro finds this automatically. Linux distributions typically have Python on board by default.  
Third step is the download and installation of the extensions (example homepage of the [generators](https://plugins.avogadro.cc/openchemistry-avogenerators) to provide an input for Gaussian and other software of quantum chemistry): Extensions → Download Plugins where you can opt-in for the tool of interest. A click on “Download selected” does the rest. (Maybe in case of Windows you have to restart the program.)

---

<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:** [November 27, 2024, 10:46pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/7 "2024-11-27T22:46:12Z")

</div>

Yep.

[https://two.avogadro.cc/develop/scripts/install.html](https://two.avogadro.cc/develop/scripts/install.html)

Now that particular guide probably needs to be split into a more user-centric guide.

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [November 27, 2024, 10:52pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/8 "2024-11-27T22:52:57Z")

</div>

Yep, exactly that is on my to-do list: a guide to installing and using the scripts in the user guide, separate to the information about the API for plugin authors (which also needs a bit of updating, you’ve added quite a few helpful things to it in the past year).

---

<div class="post-metadata">

**Author:** ![SteveW](https://discuss.avogadro.cc/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@SteveW](https://discuss.avogadro.cc/u/SteveW)\
**Post date:** [November 27, 2024, 11:29pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/9 "2024-11-27T23:29:38Z")

</div>

Thanks,  
I have python 3.13 installed, however, when I start avogadro2 under Extensions there is no section Python Settings. All I have in Extensions is Create surfaces, plugin downloader, periodic table, APBS, Open Bable, and MD.  
In the quantum section, it asks me to set the python path, when I do that nothing happens, if I restart the program again under quantum it just asks me to set the path again.

---

<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:** [November 27, 2024, 11:41pm UTC](https://discuss.avogadro.cc/t/should-base-install-include-scripts/6593/10 "2024-11-27T23:41:54Z")

</div>

Please open up a new support thread with some information on your OS, and if you can a screenshot of the dialog for selecting Python.
