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

前端 未结 1 1190
小鲜肉
小鲜肉 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)
提交回复
热议问题