How to run a python script locally in a virtual environment on someone elses windows machine and have it consistently work?

前端 未结 1 1191
小鲜肉
小鲜肉 2021-01-25 00:32

I\'m making scripts/tools for colleagues that they can hopefully on their windows machines from a shared drive. Python versions and libraries are not consistent of course, and i

相关标签:
1条回答
  • 2021-01-25 01:03

    You could package your tools with pyinstaller. It would require some extra work on your end, but you would end-up with a stand alone executable including the correct python interpreter and dependencies.

    0 讨论(0)
提交回复
热议问题