why does cryptography can’t be imported even though I installed it? Same thing is happening with pygame and other modules.
PS C:UsersElnour TechPycharmProjectspythonProject1> pip install cryptography
Collecting cryptography
Using cached cryptography-43.0.0-cp39-abi3-win_amd64.whl.metadata (5.4 kB)
Requirement already satisfied: cffi>=1.12 in c:userselnour techappdatalocalprogramspythonpython311libsite-packages (from cryptography) (1.17.0)
Requirement already satisfied: pycparser in c:userselnour techappdatalocalprogramspythonpython311libsite-packages (from cffi>=1.12->cryptography) (2.22)
Using cached cryptography-43.0.0-cp39-abi3-win_amd64.whl (3.1 MB)
Installing collected packages: cryptography
Successfully installed cryptography-43.0.0
I tried to install them from command prompt, fix the virtual environment and still gives and error when imported.
Mohamed Tarek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.