Sep-02-2022, 08:16 PM
Hi, I created a py script and have been able to execute it from VBA. However, if I update the py script to require any 'import' line (eg import pandas) then the script won't run. The cmd window flashes up and having video'd it there isn't any error.
So I added some 'input(press enter)' lines into the py script to help debug and it just quits the code every time it gets to an import line. the script runs fine directly in Jupiter etc so the code itself is good and works.
Any ideas?
So I added some 'input(press enter)' lines into the py script to help debug and it just quits the code every time it gets to an import line. the script runs fine directly in Jupiter etc so the code itself is good and works.
Any ideas?