cool-easter-32542
04/12/2023, 9:15 AM./xxx.pex main.py. However, I just discover that there are a few necessary packages missing in the pex file. So I try to specify the custom python interpreter in a virtualenv with all the necessary packages with the PEX_PYTHON environment variable. Strangely, PEX_PYTHON=/path/to/venv/python ./xxx.pex main.py does not work, and so does /path/to/venv/python ./xxx.pex main.py. I wonder how I can specify the python environment or add the necessary packages without needing to regenerate or change the .pex file?
Thanks a lot!
pantsbuild/pex