[Tutor] Import Error.

Steven D'Aprano steve at pearwood.info
Sun Jul 23 20:50:10 EDT 2017


On Sun, Jul 23, 2017 at 09:54:09PM +0530, Deepen Patel wrote:

> ImportError: No module named cryptography.exceptions
> 
> Currently, I am using virtual environments and in virtual environment this
> code not run properly.
> previously, I am running code without virtual environments. it works proper.

You need to install the cryptography package into your virtual 
environment. The virtual environment will not see packages installed 
elsewhere.


-- 
Steve


More information about the Tutor mailing list