Does slow python cause a problem with scripts?

I use python in a virtual environment and it is slow. When I launch Avogadro2 from command line I see the following message when it is loading up the scripts:

"Checking for energy scripts in path /Users/jearias/Library/Application Support/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /Library/Application Support/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /Applications/Avogadro2.app/Contents/Resources/energy"
"Checking for energy scripts in path /Applications/Avogadro2.app/Contents/MacOS/../lib/avogadro2/scripts/energy"
QProcess: Destroyed while process ("/Users/jearias/.venv/bin/python3") is still running.

Anything to worry about? I’m having another issue which I’ll leave for a followup post but wanted to rule this having anything to do with it.

Nope, but I’ve been wondering I can handle some of that in a thread while the rest of the GUI launches.

There’s also some potential benefit for caching scripts (e.g., checking the checksum / modification date) rather than running them every launch.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.