Pip Install not installing into correct directory?

前端 未结 10 1107
小蘑菇
小蘑菇 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:50

    1. download pip at https://pypi.python.org/pypi/pip (tar)
    2. unzip tar file
    3. cd to the file’s directory
    4. sudo python2.7 setup.py install

提交回复
热议问题