Where is virtualenvwrapper.sh after pip install?

后端 未结 24 1577
忘了有多久
忘了有多久 2020-12-07 09:20

I\'m trying to setup virtualenvwrapper on OSX, and all the instructions and tutorials I\'ve found tell me to add a source command to .profile, pointing towards virtualenvwra

24条回答
  •  庸人自扰
    2020-12-07 09:58

    You can use the find command to search for a file:

    find / -name virtualenvwrapper.sh

    This will search all directories from the root for the file.


    on ubuntu 12.04 LTS, installing through pip, it is installed to

    /usr/local/bin/virtualenvwrapper.sh


    on ubuntu 17.04, installing through pip as a normal user, it is installed to

    ~/.local/bin/virtualenvwrapper.sh

提交回复
热议问题