Sharing Python virtualenv environments

前端 未结 2 1429
忘了有多久
忘了有多久 2021-02-13 11:31

I have a Python virtualenv (created with virtualenvwerapper) in one user account. I would like to use it from another user account on the same host.

How can I do this?

2条回答
  •  失恋的感觉
    2021-02-13 12:15

    Put it in a user-neutral directory, and make it group-readable.

    For instance, for libraries, I use /srv/http/share/ for sharing code across web applications.

    You could use /usr/local/share/ for normal applications.

提交回复
热议问题