Делаю на мак оси следующую команду: mkvirtualenv kit
Получаю ругательство:
$ mkvirtualenv --python=/usr/bin/python2.7 kit Running virtualenv with interpreter /usr/bin/python2.7 New python executable in kit/bin/python Installing setuptools........... Complete output from command /Users/ololoev/.virtualenvs/kit/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:]) " /Library/Python/2.7/...ols-0.6c11-py2.7.egg: Traceback (most recent call last): File "<string>", line 279, in <module> File "<string>", line 207, in main File "/Library/Python/2.7/site-packages/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/__init__.py", line 2, in <module> File "/Library/Python/2.7/site-packages/virtualenv_support/setuptools-0.6c11-py2.7.egg/setuptools/extension.py", line 1, in <module> File "/Users/ololoev/.virtualenvs/kit/lib/python2.7/distutils/__init__.py", line 16, in <module> exec(open(os.path.join(distutils_path, '__init__.py')).read()) IOError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py' ---------------------------------------- ...Installing setuptools...done. Traceback (most recent call last): File "/Library/Python/2.7/site-packages/virtualenv.py", line 2429, in <module> main() File "/Library/Python/2.7/site-packages/virtualenv.py", line 942, in main never_download=options.never_download) File "/Library/Python/2.7/site-packages/virtualenv.py", line 1052, in create_environment search_dirs=search_dirs, never_download=never_download) File "/Library/Python/2.7/site-packages/virtualenv.py", line 598, in install_setuptools search_dirs=search_dirs, never_download=never_download) File "/Library/Python/2.7/site-packages/virtualenv.py", line 570, in _install_req cwd=cwd) File "/Library/Python/2.7/site-packages/virtualenv.py", line 1020, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /Users/ololoev/.virtualenvs/kit/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:]) " /Library/Python/2.7/...ols-0.6c11-py2.7.egg failed with error code 1
Heeeelp,please!
Что я делаю не так?
Перед этим установил setuptools и pip из под root'a.
По адресу /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py нету там есть __init__.pyc и __init__.pyo