Python Forum

Full Version: Cypto
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a module called Crypto in the lastest version? I have installed it with succes but the intepreter can't find it.

[/python]
import Crypto

from Crypto import Random

import Crypto.Cipher
[/python]

Error: ModuleNotFoundError: No module named 'Crypto'

Peter
If you have more than one version of python, you may have installed it to the wrong one.
If you used pip, you can see which version of python it's partnered with using command:
pip -V
(Jul-05-2019, 07:41 AM)Larz60+ Wrote: [ -> ]If you have more than one version of python, you may have installed it to the wrong one.
If you used pip, you can see which version of python it's partnered with using command:
pip -V

You may have a point there. I'll dig into it. Thanks.

Peter

(Jul-05-2019, 07:51 AM)knagsted Wrote: [ -> ]
(Jul-05-2019, 07:41 AM)Larz60+ Wrote: [ -> ]If you have more than one version of python, you may have installed it to the wrong one.
If you used pip, you can see which version of python it's partnered with using command:
pip -V

You may have a point there. I'll dig into it. Thanks.

Peter

I forgot: pip 19.1.1