Last active
August 14, 2016 01:22
-
-
Save xgz123/245fc730686347ccebf7afa5965d6e07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 安装pip | |
python get-pip.py | |
# where is site package | |
# sudo apt-get install 安装的package存放在 /usr/lib/python2.7/dist-packages目录中 | |
# pip 或者 easy_install安装的package存放在/usr/local/lib/python2.7/dist-packages目录中 | |
import site; site.getsitepackages() | |
# virtualenv | |
virtualenv ENV | |
source ENV/bin/activate | |
# 现在安装的包都会在这个环境下 | |
pip install *** | |
# 包在 /lib/python2.7/site-packages | |
# 安装完后,这里应该有所需要的包 | |
# sphinx - rst | |
make html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment