Copy complete virtualenv to another pc

后端 未结 4 944
礼貌的吻别
礼貌的吻别 2020-12-29 07:45

I have a virtualenv located at /home/user/virtualenvs/Environment. Now I need this environment at another PC. So I installed virtualenv-clone

4条回答
  •  借酒劲吻你
    2020-12-29 08:20

    Usually I use virtualenv to create a new environment, then I go to the environment where I want to copy from, copy all the folders and paste it into the environment folder I just created, but most importantly when asking if you want to replace the Destination files, choose to skip these files. This way you keep your settings. At least for me, this has worked very well. I hope it works for you too.

提交回复
热议问题