{"id":203516,"date":"2013-11-25T11:42:03","date_gmt":"2013-11-25T07:42:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=203516"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=203516","title":{"rendered":"<span class=\"post_title\">\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 python<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439 python \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0438 \u0442\u0440\u0435\u0442\u044c\u044f \u0432\u0435\u0442\u043a\u0430 python. \u0418\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e python.<\/p>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 <a href=\"http:\/\/www.virtualenv.org\/\">virtualenv<\/a> \u0438\u043b\u0438 \u0436\u0435 \u043e\u0431\u0435\u0440\u0442\u043a\u0443 \u0434\u043b\u044f \u043d\u0435\u0433\u043e <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper\">virtualenvwrapper<\/a>. \u041e\u0431 \u044d\u0442\u043e\u043c \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439, \u0434\u0430 \u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0445 \u043a \u0441\u0430\u043c\u0438\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0430\u043c \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u043e. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0431\u0438\u0442\u044c <em>virtualenv<\/em> \u0438\u043b\u0438 <em>virtualenvwrapper<\/em> \u0432 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a.<br \/>  \u041d\u043e \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u043d\u0438\u043c \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 python. \u041a\u043e\u043c\u0443 \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0427\u0442\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439 python, \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0445 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439. \u0422\u0430\u043a\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u0432\u0430: <a href=\"https:\/\/github.com\/utahta\/pythonbrew\">pythonbrew<\/a>(\u043a\u043e\u0442\u043e\u0440\u044b\u0439 <a href=\"https:\/\/github.com\/utahta\/pythonbrew#deprecated\">\u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f<\/a>) \u0438 <a href=\"https:\/\/github.com\/yyuu\/pyenv\">pyenv<\/a>. \u041e\u0431\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 windows(<a href=\"https:\/\/github.com\/utahta\/pythonbrew\/issues\/6\">pythonbrew<\/a>, <a href=\"https:\/\/github.com\/yyuu\/pyenv\/issues\/62\">pyenv<\/a>) \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0438\u0442\u043e\u043d\u0438\u0441\u0442\u0430\u043c \u043f\u0438\u0448\u0443\u0449\u0438\u043c \u043d\u0430 \u044d\u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435, \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u043a\u0430 \u0440\u0430\u0437\u0440\u0443\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0440\u0443\u043a\u0430\u043c\u0438, \u043b\u0438\u0431\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0434\u043b\u044f \u0441\u043c\u0435\u043d\u044b \u043f\u0443\u0442\u0435\u0439 \u0434\u043e \u043d\u0443\u0436\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439. \u041a\u0442\u043e \u043a\u0430\u043a \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a <em>pythonbrew<\/em> \u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043d \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<p>  P.S. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Ubuntu\">OS Ubuntu<\/a> 12.04. \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0438\u0445, \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430.<\/p>\n<h4>\u0420\u0443\u0447\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/h4>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u043f\u0438\u0442\u043e\u043d\u0430, \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0444\u0438\u043a\u0441. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u043c\u0443\u0434\u0440\u0438\u0442\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e 2 \u0432\u0435\u0440\u0441\u0438\u0438 python(2.7.6 \u0438 3.3.2) \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e:<br \/>  <strong>2.7.6<\/strong>  <\/p>\n<pre><code class=\"bash\">$ mkdir -p ~\/python\/src\/ && cd ~\/python\/src\/ $ wget http:\/\/www.python.org\/ftp\/python\/2.7.6\/Python-2.7.6.tar.xz $ tar -xf ~\/python\/src\/Python-2.7.6.tar.xz && cd .\/Python-2.7.6 $ .\/configure --prefix=$HOME\/python\/2.7.6\/ $ make && make install <\/code><\/pre>\n<p>  \u0434\u043b\u044f <strong>3.3.2<\/strong> \u0434\u0435\u043b\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438:  <\/p>\n<pre><code class=\"bash\">$ wget http:\/\/www.python.org\/ftp\/python\/3.3.2\/Python-3.3.2.tar.xz ~\/python\/src\/ $ tar -xf ~\/python\/src\/Python-3.3.2.tar.xz && cd .\/Python-3.3.2 $ .\/configure --prefix=$HOME\/python\/3.3.2\/ $ make && make install <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0447\u0442\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u0438:  <\/p>\n<pre><code class=\"bash\">$ virtualenv -p ~\/python\/2.7.6\/bin\/python env && . .\/env\/bin\/activate <\/code><\/pre>\n<p>  \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 virtualenvwrapper:  <\/p>\n<pre><code class=\"bash\">$ mkvirtualenv -p ~\/python\/2.7.6\/bin\/python evnwrapper <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e <a href=\"http:\/\/habrahabr.ru\/post\/179831\/\">\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043c\u0443\u043b\u044c\u0442\u0438\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430<\/a>.<br \/>  \u0414\u0430\u043b\u0435\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0438\u0437 \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u043a\u0430\u043a python \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0442\u043e \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u044c \u0434\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 python.  <\/p>\n<pre><code class=\"bash\">$ echo 'export PATH=~\/python\/2.7.6\/bin\/' &gt;&gt; ~\/.bashrc <\/code><\/pre>\n<p>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u043c\u0435\u0441\u0442\u043e bashrc \u0432\u044b \u0441\u0442\u0430\u0432\u0438\u0442\u0435 bash_profile, zshrc, kshrc, profile \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438.  <\/p>\n<pre><code class=\"bash\">$ . ~\/.bashrc <\/code><\/pre>\n<p>  \u0418 \u043f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e <a href=\"http:\/\/www.pip-installer.org\/en\/latest\/installing.html\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c pip<\/a>, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 <a href=\"https:\/\/pypi.python.org\/pypi\/setuptools#installation-instructions\">setuptools<\/a>.  <\/p>\n<pre><code class=\"bash\">$ wget https:\/\/bitbucket.org\/pypa\/setuptools\/raw\/bootstrap\/ez_setup.py -O - | python $ wget https:\/\/raw.github.com\/pypa\/pip\/master\/contrib\/get-pip.py -O - | python <\/code><\/pre>\n<p>   \u0424\u0443\u0445, \u043d\u0443 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0435. \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u043e\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 python.<\/p>\n<h4>PyEnv<\/h4>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c \u0435\u0441\u043b\u0438 \u0432\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0435\u043d\u0438\u0432\u044b, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044b\u0448\u0435 \u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 pyenv, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442 \u0432\u0430\u043c \u0434\u0430\u043d\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c \u0438 \u043f\u0443\u0442\u044f\u043c\u0438.<\/p>\n<p>  \u0422\u0430\u043a \u0432 \u0447\u0435\u043c \u0436\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b? \u0412\u043e\u0442 \u0447\u0442\u043e \u043e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e \u0441\u043b\u043e\u0432 \u0430\u0432\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:  <\/p>\n<ul>\n<li>Let you <strong>change the global Python version<\/strong> on a per-user basis.<\/li>\n<li>Provide support for <strong>per-project Python versions<\/strong>.<\/li>\n<li>Allow you to <strong>override the Python version<\/strong> with an environment variable.<\/li>\n<li>Search commands from <strong>multiple versions of Python at a time<\/strong>. This may be helpful to test across Python versions with <a href=\"http:\/\/pypi.python.org\/pypi\/tox\">tox<\/a>.<\/li>\n<\/ul>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0441\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 Python \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 <code>~\/.pyenv\/versions\/<\/code>. \u0418\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u0438 Python \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0442\u0430\u043a \u0438 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442).<\/p>\n<p>  \u041a\u0430\u043a \u0441\u0442\u0430\u0432\u0438\u0442\u044c pyenv \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 <a href=\"https:\/\/github.com\/yyuu\/pyenv#installation\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a>. \u0422\u0430\u043a \u0436\u0435 \u0443 \u0430\u0432\u0442\u043e\u0440\u0430 \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/yyuu\/pyenv-installer\/blob\/master\/bin\/pyenv-installer\">\u0441\u043a\u0440\u0438\u043f\u0442<\/a> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u043c\u0438\u043c\u043e \u0441\u0430\u043c\u043e\u0439 pyenv \u0441\u0442\u0430\u0432\u0438\u0442 \u0435\u0449\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenv\">virtualenv<\/a>. \u0415\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0438 \u0434\u043b\u044f <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper\">virtualenvwrapper<\/a>.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e <a href=\"https:\/\/github.com\/yyuu\/pyenv\/wiki\/Common-build-problems#requirements\">\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a>:  <\/p>\n<pre><code class=\"bash\"># apt-get install make libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev <\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043d\u0430\u0447\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d git:  <\/p>\n<pre><code class=\"bash\"># apt-get install git <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u043e <a href=\"https:\/\/github.com\/yyuu\/pyenv#installation\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a>:  <\/p>\n<pre><code class=\"bash\">$ git clone git:\/\/github.com\/yyuu\/pyenv.git ~\/.pyenv <\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">$ curl https:\/\/raw.github.com\/yyuu\/pyenv-installer\/master\/bin\/pyenv-installer | bash <\/code><\/pre>\n<p>  \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438.<br \/>  \u0414\u0430\u043b\u0435\u0435, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0431\u044b \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043d\u0430\u0448 bashrc \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443:  <\/p>\n<pre><code class=\"bash\">$ echo 'export PYENV_ROOT=&quot;$HOME\/.pyenv&quot;' &gt;&gt; ~\/.bashrc $ echo 'export PATH=&quot;$PYENV_ROOT\/bin:$PATH&quot;' &gt;&gt; ~\/.bashrc $ echo 'eval &quot;$(pyenv init -)&quot;' &gt;&gt; ~\/.bashrc $ . ~\/.bashrc <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0438\u043b\u0438 \u0441\u043c\u0435\u043d\u044b \u0435\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c git.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 <em>pyenv<\/em> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439:  <\/p>\n<pre><code class=\"bash\">$ cd ~\/.pyenv <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439:  <\/p>\n<pre><code class=\"bash\">$ git tag <\/code><\/pre>\n<p>  \u0434\u043b\u044f \u0441\u043c\u0435\u043d\u044b \u0432\u0435\u0440\u0441\u0438\u0438  <\/p>\n<pre><code class=\"bash\">$ git checkout &lt;version&gt; <\/code><\/pre>\n<p>  \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f  <\/p>\n<pre><code class=\"bash\">$ git pull <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">~ $ pyenv install 2.7.5 ~ $ pyenv install 3.3.2 ~ $ pyenv rehash ~ $ pyenv versions * system   2.7.5   3.3.2 ~ $ pyenv global 2.7.5 ~ $ python --version Python 2.7.5 ~ $ cd projects\/ ~\/projects $ pyenv local 3.3.2 ~\/projects $ python --version Python 3.3.2 ~\/projects $ cd test_prj\/ ~\/projects\/test_prj $ python --version Python 3.3.2 ~\/projects\/test_prj $ cd .. ~\/projects $ pyenv local --unset ~\/projects $ python --version Python 2.7.5 <\/code><\/pre>\n<p>  \u0412 \u0434\u043e\u0431\u0430\u0432\u043e\u043a \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0432\u0441\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0438 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u043e \u0443 \u0430\u0432\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u0435\u0433\u043e <a href=\"https:\/\/github.com\/yyuu\/\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u043d\u0430 github<\/a>.<\/p>\n<h4>\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0412\u0441\u0435, \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u043a\u0430\u043a \u0445\u043e\u0442\u0438\u0442\u0435. \u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 3 \u0432\u0435\u0442\u043a\u0443 python \u0442\u043e \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 <a href=\"http:\/\/docs.python.org\/dev\/library\/venv.html\">venv<\/a> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438. \u041f\u0440\u043e \u044d\u0442\u043e \u0435\u0441\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/157287\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043d\u0430 \u0445\u0430\u0431\u0440\u0435. \u0415\u0441\u043b\u0438 \u0432\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a <a href=\"http:\/\/www.virtualenv.org\/en\/latest\/\">virtualenv<\/a> \u0438\u043b\u0438 \u0435\u0435 \u043e\u0431\u0435\u0440\u0442\u043a\u0435 <a href=\"http:\/\/virtualenvwrapper.readthedocs.org\/en\/latest\/\">virtualenvwrapper<\/a> \u0442\u043e \u0442\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: \u043b\u0438\u0431\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u043a <em>pyenv<\/em>, \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043a \u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 python c \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u0430\u043c\u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043a \u0432\u0430\u0448\u0438\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c python \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:  <\/p>\n<pre><code class=\"bash\">$ pyenv versions <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u043b\u0435\u0433\u043a\u043e, \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenv\">pyenv-virtualenv<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper\">pyenv-virtualenvwrapper<\/a>:  <\/p>\n<pre><code class=\"bash\">$ mkdir -p ~\/.pyenv\/plugins $ git clone git:\/\/github.com\/yyuu\/pyenv-virtualenv.git ~\/.pyenv\/plugins\/pyenv-virtualenv $ git clone git:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper.git ~\/.pyenv\/plugins\/pyenv-virtualenvwrapper <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0434\u043b\u044f <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenv#usage\">pyenv-virtualenv<\/a> \u0438 <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper#usage\">pyenv-virtualenvwrapper<\/a>.<br \/>  \u0412\u0441\u0435, \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c, \u043a\u0430\u043a \u0432\u0430\u043c \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u0435\u0435.<\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">$ pyenv versions * system   2.7.5   3.3.2  $ mkdir -p ~\/test_project\/prj_for_2.7.5 && cd ~\/test_project\/prj_for_2.7.5 $ pyenv virtualenv 2.7.5 my-virtualenv-2.7.5 $ pyenv local my-virtualenv-2.7.5 $ pip install django==1.4 $ pip freeze Django==1.4 wsgiref==0.1.2 $ python --version Python 2.7.5  $ mkdir -p ~\/test_project\/test_project && cd ~\/test_project\/test_project $ pyenv virtualenv 3.3.2 my-virtualenv-3.3.2 $ pyenv local my-virtualenv-3.3.2 $ pip install django==1.5 $ pip freeze Django==1.5 $ python --version Python 3.3.2 <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0445\u043e\u0434\u044f\u0441\u044c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0442 \u043d\u0443\u0436\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 python \u043d\u0435 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u044f \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. <em>pyenv<\/em> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0444\u0430\u0439\u043b <em>.python-version<\/em> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u043e\u043c \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e python \u0441 \u043a\u0430\u043a\u0438\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<h4>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438<\/h4>\n<p>  <a href=\"https:\/\/github.com\/utahta\/pythonbrew\">github.com\/utahta\/pythonbrew<\/a><br \/>  <a href=\"https:\/\/github.com\/yyuu\/pyenv\">github.com\/yyuu\/pyenv<\/a><br \/>  <a href=\"https:\/\/github.com\/yyuu\/pyenv-installer\">github.com\/yyuu\/pyenv-installer<\/a><br \/>  <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenv\">github.com\/yyuu\/pyenv-virtualenv<\/a><br \/>  <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper\">github.com\/yyuu\/pyenv-virtualenvwrapper<\/a><br \/>  <a href=\"http:\/\/docs.python.org\/dev\/library\/venv.html\">docs.python.org\/dev\/library\/venv.html<\/a><br \/>  <a href=\"http:\/\/www.virtualenv.org\/en\/latest\/\">www.virtualenv.org\/en\/latest\/<\/a><br \/>  <a href=\"http:\/\/virtualenvwrapper.readthedocs.org\/en\/latest\/\">virtualenvwrapper.readthedocs.org\/en\/latest\/<\/a> \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/203516\/\"> http:\/\/habrahabr.ru\/post\/203516\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439 python \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0438 \u0442\u0440\u0435\u0442\u044c\u044f \u0432\u0435\u0442\u043a\u0430 python. \u0418\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e python.<\/p>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 <a href=\"http:\/\/www.virtualenv.org\/\">virtualenv<\/a> \u0438\u043b\u0438 \u0436\u0435 \u043e\u0431\u0435\u0440\u0442\u043a\u0443 \u0434\u043b\u044f \u043d\u0435\u0433\u043e <a href=\"https:\/\/github.com\/yyuu\/pyenv-virtualenvwrapper\">virtualenvwrapper<\/a>. \u041e\u0431 \u044d\u0442\u043e\u043c \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439, \u0434\u0430 \u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0445 \u043a \u0441\u0430\u043c\u0438\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0430\u043c \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u043e. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0431\u0438\u0442\u044c <em>virtualenv<\/em> \u0438\u043b\u0438 <em>virtualenvwrapper<\/em> \u0432 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a.<br \/>  \u041d\u043e \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u043d\u0438\u043c \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 python. \u041a\u043e\u043c\u0443 \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-203516","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/203516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203516"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/203516\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}