OS X 10.11下,执行virtualenv venv
,提示
Operation not permitted: '/usr/local/bin/easy_install'之类错误
解决方法为:rm -rf .pydistutils.cfg
#coding=utf-8 | |
import os | |
import sys | |
curdir = os.path.dirname(os.path.realpath(__file__)) | |
sys_paths = [] | |
sys_paths.append(os.path.join(curdir, "packages")) | |
for p in sys_paths: | |
sys.path.insert(0, p) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
OS X 10.11下,执行virtualenv venv
,提示
Operation not permitted: '/usr/local/bin/easy_install'之类错误
解决方法为:rm -rf .pydistutils.cfg
#!/bin/sh | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Your Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |