Install a Python package into a different directory using pip?

后端 未结 16 2614
借酒劲吻你
借酒劲吻你 2020-11-22 05:55

I know the obvious answer is to use virtualenv and virtualenvwrapper, but for various reasons I can\'t/don\'t want to do that.

So how do I modify the command

16条回答
  •  时光取名叫无心
    2020-11-22 06:04

    To pip install a library exactly where I wanted it, I navigated to the location I wanted the directory with the terminal then used

    pip install mylibraryName -t . 
    

    the logic of which I took from this page: https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/download

提交回复
热议问题