Where to find pythons scripts/plugins

Thanks! Avogadro had found some older python.exe options, but I found one that worked!

I appreciate the quick response!

1 Like

Yes, I think we need a better warning dialog on startup when Python isn’t found or doesn’t seem to work - something that lets you pick a new Python if you have one installed and suggests a download (e.g., conda-forge) if you need it.


Even after installing the Python code , Not able to select it in the extension settings

@Natarajan_R_ch24d032 What (presuming presence of a Python interpreter) is available to the computer you use below/behind the pull-down menu Environment?

  • in case of Windows, start cmd.exe , the call where.exe python.exe should report the path to your Python interpreter. If it doesn’t (because Python isn’t provided by default), you need to install this first, for instance from https://www.python.org/.
  • in case of using Linux (like Ubuntu), Python should be already provided by default and the command which python3 should report for instance /usr/bin/python3

Maybe the check for and the eventual location of the Python interpreter in MacOS is similar to Linux.

image

The pull down is not showing any option

Python from the MS Store can be a bit funny and has been a common theme amongst people here struggling with Python in Avogadro. Try installing it from Download Python | Python.org instead and see if that helps?

Or you can install from mini-forge

The reason the pulldown is not showing the option is because this path points to a “Feature” of Windows that creates symbolic links to various programs that aren’t actually installed. Most likely the python.exe file at that location is merely a 0kb executable that does not launch python but rather launches the Microsoft store page for python.

I’d recommend what @matterhorn103 suggested and download python from the python website.

Thanks for the response, I had downloaded the python from python website.