pycrypto : No module named strxor
<p>I got this error : </p>

<p>Traceback (most recent call last):
     File "test.py", line 8, in 
       from Crypto.Cipher import PKCS1_OAEP
     File "C:\Users\Mokhles\Downloads\google-api-python-client-1.5.3\Crypto   \Cipher\PKCS1_OAEP.py", line 57, in 
       import Crypto.Signature.PKCS1_PSS
     File "C:\Users\Mokhles\Downloads\google-api-python-client-1.5.3\Crypto   \Signature\PKCS1_PSS.py", line 74, in 
       from Crypto.Util.strxor import strxor
   ImportError: No module named strxor</p>

<p>any idea how to solve it?</p>

<p>ENV:
-windows 10
-python 2.7</p>

<p>It looks like you're simply copied pyCrypto into your project. PyCrypto is library which depends on some native library/code (like libtomcrypt). You have to install it properly. You can do this for example through pip:</p>

<pre><code>pip2 install pycrypto
</code></pre>

<p>or</p>

<pre><code>pip3 install pycrypto
</code></pre>

<p>depending on which Python version you want to make it available.</p>

python pycrypto