How to install python package in a specific directory

后端 未结 4 940
猫巷女王i
猫巷女王i 2021-01-24 04:02

I\'m developing a twitter app on google appengine - for that I want to use the Twython library. I tried installing it using pip - but it either installs it in the main python di

4条回答
  •  無奈伤痛
    2021-01-24 04:32

    If you're installing a package using pip, try this:

    Install a Python package into a different directory using pip?

    I personally needed libraries that I was just using out of git repos. I just symlinked those libraries instead of installing them. But in that case, I had to manually symlink all the dependencies too.

提交回复
热议问题