path/to-venv/activate && python --version')
works, but
os.system('source path/to-venv/activate && python --version')
doesn't ?
(throws bash: source: No such file or directory)
Maybe this can help? https://stackoverflow.com/a/53936226/10295729
yep, seems that's it. Thank you very much )
Обсуждают сегодня