Pip Install not installing into correct directory?

前端 未结 10 1104
小蘑菇
小蘑菇 2020-11-29 04:22

I can\'t seem to use sudo pip install correctly so that it installs into the following directory:

/Library/Frameworks/Python.framework/Versions/2.7/lib/pyth         


        
10条回答
  •  星月不相逢
    2020-11-29 04:39

    I totally agree with the guys, it's better to use virtualenv so you can set a custom environment for every project. It ideal for maintenance because it's like a different world for every project and every update of an application you make won't interfere with other projects.

    Here you can find a nutshell of virtualenv related to installation and first steps.

提交回复
热议问题