wishmaster
wishmaster

Reputation: 1487

crypt module not found (python3.7)

I'm using python 3.7,the crypt module that used to be built-in python 2.x, now i can't seem to find it. I tried https://docs.python.org/3/library/crypt.html but it's source code uses _crypt which also i can't download any help is appreciated.

import crypt

i get this error

    import _crypt
ModuleNotFoundError: No module named '_crypt'

Upvotes: 1

Views: 2342

Answers (2)

CSS
CSS

Reputation: 3

I uninstalled crypto and installed it again and it fixed my problem.

pip uninstall crypto
pip install crypto

Upvotes: -1

Stubbs
Stubbs

Reputation: 193

If you are on Windows then it's because crypt is a Unix Specific Service.

Upvotes: 1

Related Questions