Search code examples
pythonpython-3.xpynacl

ModuleNotFoundError: No module named error python 3.8.2


8.2

When I install a new module with pip install PyNaCl it says it downloaded successfully, then I check with pip list and its there and when I run my python code I get "No Module Named "PyNaCl" error. It's not from the module because I tried with different ones and I get the same error.


Solution

  • That's because while the pypi package is called PyNaCl, the actual library is called nacl, as can be seen in the official documentation.