python: Can I run a python script without actually installing python?

后端 未结 6 647
臣服心动
臣服心动 2020-12-08 14:35

I have some .py files I wrote that I want to run on a different machine. The target machine does not have python installed, and I can\'t \'install\' it by policy. What I c

6条回答
  •  春和景丽
    2020-12-08 14:42

    It seems virtualenv does not let you easily relocate the virtual environment folder created.

    Check virtualenv User Guide. So moving the folder elsewhere may not work. Have you tried the relocate option with virtualenv?

提交回复
热议问题