Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python ImportError No module named crypto.PublicKey.RSA

Tags:

When I try to execute a python program, I get this from terminal

Traceback (most recent call last): File "ring.py", line 1, in <module> import os, hashlib, random, crypto.PublicKey.RSA ImportError: No module named crypto.PublicKey.RSA 

I have no idea how to solve this and other questions have proven completely useless to my situation.

Is the module there but in the wrong place? Should I download modules from somewhere like for node.js? Or it's more like Java?