lovro Thank you for your suggestion.
It doesn't seem to work. Could it be a reason that I'm working from a virtual environment?
Also, I'm currently running the script:
python3 calibrate.py -s [SQUARE_SIZE_IN_CM] --board [BOARD] -nx [squaresX] -ny [squaresY] -m process
Since I've taken all the photographs already, that went fine, but the calibration stage gives problems. Or do I have to go through a clean calibration session and using your 'export' suggestion?