Skip to content

fix: call DesyRDL with empty PYTHON* env

Lukasz Butkowski requested to merge vivado_python_env into main

This fixes an issue with Vivado <=2020.1 which bundles Python 2.7. The Vivado Tcl interpreter sets environment variables that point at the bundled Python distribution. DesyRDL would then fail like this:

ModuleNotFoundError: No module named 'encodings'

Clear Python-related environment variables before calling DesyRDL and restore them afterwards.

Merge request reports

Loading