Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cypto
#1
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
Reply
#2
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
Reply
#3
(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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020