YouCompleteMe post install error : cannot import name _compare_digest
<p>I am trying to install YouCompleteMe plugin on a source compiled Vim instance. I have a server without sudo privileges, hence I had to compile new Vim (7.4+) in order to make most plugins work. Also, I have installed miniconda and thus refer to the python in miniconda for all installations.</p>

<p>While following all steps how to install YouCompleteMe plugin (via Vundle or even manually), I faced this issue : "Cannot find module urllib3". So I installed urllib3 via pip, and then the error changed to "cannot import name _compare_digest". Point to note that conda virtualenv (I have just made the miniconda bin to $PATH) cannot start and it still shows "Cannot find module urllib3" even after installing it explicitly.</p>

<p>Is there something wrong with the way I installed vim? I had been extra careful to point to miniconda python wherever it's needed. How do I mitigate this issue and get the plugin running again?</p>

<p>When I had trouble with dependencies I had to run </p>

<p><code>git submodule update --init --recursive</code></p>

<p>in the YouCompleteMe directory to get the dependencies installed.</p>

<p>Also make sure you have taken all of the other steps here:</p>

<p><a href="https://valloric.github.io/YouCompleteMe/#full-installation-guide" rel="nofollow">https://valloric.github.io/YouCompleteMe/#full-installation-guide</a></p>

<p>One of those steps may fix the issue.</p>

python ubuntu vim conda miniconda