Closed mshama closed 4 years ago
Fixed by https://github.com/ftpsolutions/python-third-party-license-file-generator/pull/9 which is now merged in- release 2020.7.18 is up on PyPI at https://pypi.org/manage/project/third-party-license-file-generator/release/2020.7.18/
Thanks all involved- will close this.
on Windows when trying to execute the script, the site-packages folder of the calling python is used and not of the python executable specified in the -p argument.
Debugging showed that in
_run_subprocess
for windows when usingsys.executable
insubprocess.Popen
, thesys.path
has the value ofsys.executable
and not of the venv. I have tested usingargs=command_line.split()
withoutexecutable=sys.executable
and it worked as expected