Revit could not complete the external command

As you are using cpython you should check @ErikFrits video about importing modules:

Or as mentioned in

CPython engine is under active development and might be unstable. If you want to use python for development, it is preferred to use IronPython. CPython should only be used when accessing C-based python packages (e.g. numpy, scipy) is necessary.

1 Like